daktmacfan
New member
- Joined
- Mar 13, 2008
- Messages
- 1
- Programming Experience
- 1-3
Hi,
I have developed a chart control in VB.NET that is drawn with GDI+.
I want to make the current charts image to be a public property of type Image.
I cannot figure out how to do this.
Here is kind how my drawing function is setup:
Private Sub DoPaint(ByVal canvas As Graphics)
'somedrawing
canvas.DrawLine()
canvas.DrawLine()
canvas.DrawText()
'now I would like to save all that I have drawn
'to an Image ojbect
'not sure how to do something such as this
Dim temp As Image = ???
End Sub
thanks,
David
I have developed a chart control in VB.NET that is drawn with GDI+.
I want to make the current charts image to be a public property of type Image.
I cannot figure out how to do this.
Here is kind how my drawing function is setup:
Private Sub DoPaint(ByVal canvas As Graphics)
'somedrawing
canvas.DrawLine()
canvas.DrawLine()
canvas.DrawText()
'now I would like to save all that I have drawn
'to an Image ojbect
'not sure how to do something such as this
Dim temp As Image = ???
End Sub
thanks,
David