Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.Reporting.v4.3 Assembly / Xceed.Grid.Reporting Namespace / Report Class / Print Method / Print(PrinterSettings,Boolean) Method
A reference to a System.Drawing.Printing.PrinterSettings object containing information about how a document is printed, including the printer that prints it.
true if the progression dialog should be shown during the printing process; false otherwise.


In This Topic
    Print(PrinterSettings,Boolean) Method
    In This Topic
    Prints the report using the specified System.Drawing.Printing.PrinterSettings.
    Syntax
    'Declaration
     
    Public Overloads Sub Print( _
       ByVal printerSettings As PrinterSettings, _
       ByVal showProgressionDialog As Boolean _
    ) 
    'Usage
     
    Dim instance As Report
    Dim printerSettings As PrinterSettings
    Dim showProgressionDialog As Boolean
     
    instance.Print(printerSettings, showProgressionDialog)
    public void Print( 
       PrinterSettings printerSettings,
       bool showProgressionDialog
    )

    Parameters

    printerSettings
    A reference to a System.Drawing.Printing.PrinterSettings object containing information about how a document is printed, including the printer that prints it.
    showProgressionDialog
    true if the progression dialog should be shown during the printing process; false otherwise.
    Remarks

    When the Print method is called, the standard .NET print 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