When using the PrintPreviewDialog to simply preview a grid, the preview is missing gridlines. Interestingly, as the more I zoom in (using the preview control) the better the gridlines render in the preview.
I could not attach a file, so I have emailed
[email protected]
But for other to easily duplicate, create a new project with a windows form and add a grid. Create a button and in the click event insert the following code:
PrintPreviewDialog dlg = new PrintPreviewDialog();
dlg.Document = new GridPrintDocument(this.gridControl1,true);
dlg.WindowState = FormWindowState.Maximized;
dlg.ShowDialog(this);
Run the project and notice the incomplete gridlines.
Thanks,
Steve