'Declaration Public Shared Function PrintPreview( _ ByVal spread As GcSpreadSheet, _ Optional ByVal sheetIndex As Integer, _ Optional ByVal printSettings As PrintSettings _ ) As IDialog
'Usage Dim spread As GcSpreadSheet Dim sheetIndex As Integer Dim printSettings As PrintSettings Dim value As IDialog value = BuiltInDialogs.PrintPreview(spread, sheetIndex, printSettings)
public static IDialog PrintPreview( GcSpreadSheet spread, int sheetIndex, PrintSettings printSettings )
Parameters
- spread
- The GrapeCity.Wpf.SpreadSheet.GcSpreadSheet control to work with.
- sheetIndex
- An integer value indicates the printing worksheet. The default value
-1
means the entire workbook is printed. - printSettings
- The print settings.