I love the simplicity of printing the content of a UltraGrid using .PrintPreview method.
I would like to know how I can change the page orientation from the default Portrait to Landscape.
venki
Hello Venki,
If you need any additional assistance don’t hesitate to ask.
Regards
One possible approach could be if you are using:
ultraPrintPreviewDialog1.Document = ultraGridPrintDocument1;
ultraPrintPreviewDialog1.Document.DefaultPageSettings.Landscape =true;
ultraPrintPreviewDialog1.ShowDialog();
Please take a look at atatched sample for more details. Let me know if you have any questions.