Xceed Grid for WinForms v4.3 Documentation
PrintPreview() Method


Xceed.Grid.Reporting.v4.3 Assembly > Xceed.Grid.Reporting Namespace > Report Class > PrintPreview Method : PrintPreview() Method
Previews the report.
Syntax
'Declaration
 
Public Overloads Sub PrintPreview() 
'Usage
 
Dim instance As Report
 
instance.PrintPreview()
public void PrintPreview()
Remarks

The report will be previewed with the default System.Drawing.Printing.PrinterSettings. The standard Windows PrintDialog will be displayed before the previewing process begins in order to modify, if necessary, the printer settings. To prevent this form from being displayed, the Print overload that accepts a System.Drawing.Printing.PrinterSettings can be used.

When the PrintPreview method is called, the standard .NET print preview process will be used. For certain printers, such as FinePrint, "Microsoft Office Document Image Writer", or PrintToFile, this may result in a Win32Exception when the user cancels the process.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Report Class
Report Members
Overload List