Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
495
UltraChart Printing
posted

I have a win form that have 6 different UltraCharts that displays different diagrams. Those UltraCharts are placed in TableLayoutPanel. 

I need to be able to print preview and then print them off as one view exactly as they appear on the form. I know how to print them off separately:

UltraPrintPreviewDialog.Document = UltraChart.PrintDocument

UltraPrintPreviewDialog.ShowDialog()

But I can't find the way to do it for all of them at once.

Thank You

Parents
No Data
Reply
  • 375
    Verified Answer
    Offline posted

    Hello Programmer222,

    Could you please review the sample attached to this post and see if it meets your requirements. To print the currect view of the TableLayoutPanel you can draw the panel into a bitmap, then use the DrawImage() method of Graphics object (exposed through the PrintPageEventArgs) to draw the panel on the page.

    Please feel free to let me know if I misunderstood you or if you have any other questions.

    UltraChartPrinting.zip
Children