Graphics to Bitmap?

  • Thread starter Thread starter Charles Teel
  • Start date Start date
C

Charles Teel

This is probably a really simple question. If it is I'm missing the
answer.

I have a Graphics object that I want to convert to a Bitmap or other
Image object. How do I do that on the .Net Compact Framework 2? Does
it take some P/Invoking or is there a managed way of doing it?

Thanks in Advance
 
A Graphics object isn't an image, so it can't be readily "converted". I
assume you have some Graphics object that you are drawing into and you want
to save that as a file? You need to start by creating the Graphics from an
image then.
 
Back
Top