'Declaration Public Overloads Sub PrintPreview()
'Usage Dim instance As Report instance.PrintPreview()
public void PrintPreview()
'Declaration Public Overloads Sub PrintPreview()
'Usage Dim instance As Report instance.PrintPreview()
public void PrintPreview()
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.
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