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.
 
Back
Top