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
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.
Hello Vasil,
Thank you for your answer. That worked for me!
Rasa Rin
You are welcome, Rasa Rin! I am glad I could help you.
Thank you for using our products.