Creating In-Memory Device Context On .Net 2.0 GDI+
Posted on 2008-10-20
I need help creating an in-memory GDI+ drawing canvas that is the Win32 equivalent of a device context with a defined width and height on which I can carry out a variety of drawing operations using GDI+ objects and methods. The operations that I need to do include loading an image from file, drawing lines, writing text, etc. When this is completed, I need to be able to take the information from the in-memory canvas and write it out to a file or stream.
Can somebody point me in the right direction for how to go about doing this in .Net 2.0?