|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Opposite of Graphics.FromImageHello,
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" <Yves_no_spam@hotmail.com> schrieb: A 'Graphics' object is mainly a tool used to access a device (image, screen, > can I do the opposite of: > Dim newGraphics As Graphics = Graphics.FromImage(imageFile) > > I want an image from a graphics. printer, ...), so it is not possible to create an 'Image' object from a 'Graphics' object. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> Hi,
VS 2005 added drawtobitmap method to the controls. http://msdn2.microsoft.com/en-us/library/ms158401(VS.80).aspx Ken ------------------ Show quoteHide quote "news.microsoft.com" wrote: > Hello, > > can I do the opposite of: > Dim newGraphics As Graphics = Graphics.FromImage(imageFile) > > I want an image from a graphics. > > thx. > > >
ADO.NET Error
eventlog monitoring indirectly setting a property of a class Setting focus File difference algorithm Not inheriting members from the base excel range: how to tell it to move one row down? Strongly typed datasets and web services Visual Basic Hang How many jobs are waiting in the printer's queue |
|||||||||||||||||||||||