Spread WPF 18
GrapeCity.Wpf.SpreadSheet Namespace / GcSpreadSheet Class / Print Method
An integer value indicates the printing worksheet. The default value -1 means the entire workbook is printed.
The print settings.
true to show the print dialog; otherwise, false.


In This Topic
    Print Method
    In This Topic
    Prints the GcSpreadSheet.
    Syntax
    'Declaration
     
    Public Sub Print( _
       Optional ByVal sheetIndex As Integer, _
       Optional ByVal printSettings As PrintSettings, _
       Optional ByVal showDialog As Boolean _
    ) 
    'Usage
     
    Dim instance As GcSpreadSheet
    Dim sheetIndex As Integer
    Dim printSettings As PrintSettings
    Dim showDialog As Boolean
     
    instance.Print(sheetIndex, printSettings, showDialog)
    public void Print( 
       int sheetIndex,
       PrintSettings printSettings,
       bool showDialog
    )

    Parameters

    sheetIndex
    An integer value indicates the printing worksheet. The default value -1 means the entire workbook is printed.
    printSettings
    The print settings.
    showDialog
    true to show the print dialog; otherwise, false.
    See Also