Opposite of Graphics.FromImage

  • Thread starter Thread starter news.microsoft.com
  • Start date Start date
N

news.microsoft.com

Hello,

can I do the opposite of:
Dim newGraphics As Graphics = Graphics.FromImage(imageFile)

I want an image from a graphics.

thx.
 
With a Graphics object, you can call it's various Draw methods to draw
lines, arcs, rectangles, circles, etc. Then save what you have drawn
to an image.

Could you be more specific about what you wish to do?

Chris
 
news.microsoft.com said:
can I do the opposite of:
Dim newGraphics As Graphics = Graphics.FromImage(imageFile)

I want an image from a graphics.

A 'Graphics' object is mainly a tool used to access a device (image, screen,
printer, ...), so it is not possible to create an 'Image' object from a
'Graphics' object.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top