C# question: Is there anyway to capture an image of a control to disk?

JonTheBaller

Golden Member
Dec 2, 2002
1,916
0
0
I have a control in a form, and I would like to capture what it draws to an image. Does this have to be done within the control, or can the form do it somehow? Thanks.
 

oog

Golden Member
Feb 14, 2002
1,721
0
0
I really don't know the answer to your question. I know that in .NET, graphics are manipulated with the GDI+ libraries. It's possible that you can ask the control for it's graphics context (GC) and create an image off of that.