PrintToFit

Can you set the grid to landscape? If so how?

1 Reply

AD Administrator Syncfusion Team September 12, 2003 08:57 AM UTC

If you post this in the grid forum, it will likely get a quicker response. Here is code that sets up lanscape printing using a property on the PrintDocument.DefaultSettings.
GridPrintDocument pd = new GridPrintDocument(this.gridControl1, true);
PrintPreviewDialog pv = new PrintPreviewDialog();
pv.Document = pd;
pd.DefaultPageSettings.Landscape = true;

Loader.
Up arrow icon