[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.GcSpreadSheet.Print

Print Method

Print(int, PrintSettings, bool)

Prints the GcSpreadSheet.

Declaration
public void Print(int sheetIndex = -1, PrintSettings printSettings = null, bool showDialog = false)
Public Sub Print(Optional sheetIndex As Integer = -1, Optional printSettings As PrintSettings = Nothing, Optional showDialog As Boolean = False)
Parameters
Type Name Description
int sheetIndex

An integer value indicates the printing worksheet. The default value -1 means the entire workbook is printed.

PrintSettings printSettings

The print settings.

bool showDialog

true to show the print dialog; otherwise, false.