Printing using VB 2005
Please, I need a help in printing axmschart control.
I know how to print something like richtextbox. but I couldn't figure out how to print the chart resulting from an axmschart control.
I'm using VB 2005 Express Edition.
Thank You in advance.
[270 byte] By [
Rania171] at [2007-12-23]
I don't think this control is supported in VB EE.
I tryed figuring out how to print with it today.
The 'axmschart1.CreateGraphics' looked promising but I could not figure
out how to use it.
The only print examples I could find used 'AxMSChart1.EditCopy()' to copy
the chart to the clipboard and then in a PrintPage event grab the clipboard
contents to a bitmap to do a e.graphics.drawimage.
In my testing, only the text seemed to make it to the clipboard.
Reference article http://www.groupsrv.com/dotnet/about179782.html
Maybe you will have better luck than me!