printing Chart control  
Author Message
kiwijason





PostPosted: Visual Basic Language, printing Chart control Top

I have a form with a Chart control (AxMSChart20Lib.AxMSChart) on it. I wish to click on a button on the form and print out the chart control picture (the graph shown in the chart control). I have looked everywhere for an answer and have come up with nothing can anyone help

I am using VB.NET 2005



Visual Basic21  
 
 
nobugz





PostPosted: Visual Basic Language, printing Chart control Top

The old chart control doesn't support printing nor tricks like Control.DrawToBitmap(). You could capture the image off the screen but it is error prone and is going to look awful on paper. You'll need to move to a commercial product, the Dundas chart control supports printing and looks pretty and capable.


 
 
kiwijason





PostPosted: Visual Basic Language, printing Chart control Top

Thanks for now I am going to just capture the image off the screen.