Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.Reporting.v4.3 Assembly / Xceed.Grid.Reporting Namespace / Report Class / PrintPreview Method / PrintPreview(PrinterSettings) Method
A reference to a System.Drawing.Printing.PrinterSettings object containing information about how a document is previewed, including the printer that it would print on.


In This Topic
    PrintPreview(PrinterSettings) Method
    In This Topic
    Previews the report using the specified System.Drawing.Printing.PrinterSettings.
    Syntax
    'Declaration
     
    Public Overloads Sub PrintPreview( _
       ByVal printerSettings As PrinterSettings _
    ) 
    'Usage
     
    Dim instance As Report
    Dim printerSettings As PrinterSettings
     
    instance.PrintPreview(printerSettings)
    public void PrintPreview( 
       PrinterSettings printerSettings
    )

    Parameters

    printerSettings
    A reference to a System.Drawing.Printing.PrinterSettings object containing information about how a document is previewed, including the printer that it would print on.
    Remarks

    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