We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

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.
Live Chat Icon For mobile
Up arrow icon