[]
        
(Showing Draft Content)

FarPoint.Win.Spread.FpSpread.ShowPageSetup

ShowPageSetup Method

ShowPageSetup(int, bool, bool)

Shows the page setup dialog with the specified buttons for the specified sheet.

Declaration
public DialogResult ShowPageSetup(int sheet, bool showPrintButton, bool showPreviewButton)
Public Function ShowPageSetup(sheet As Integer, showPrintButton As Boolean, showPreviewButton As Boolean) As DialogResult
Parameters
Type Name Description
int sheet

Sheet index

bool showPrintButton

Whether to display the Print button

bool showPreviewButton

Whether to display the Print Preview button

Returns
Type Description
DialogResult
Exceptions
Type Condition
ArgumentOutOfRangeException

Specified sheet index is out of range; must be between 0 and the total number of sheets.

ShowPageSetup(SheetView, bool, bool)

Shows the page setup dialog with the specified buttons for the specified sheet.

Declaration
public DialogResult ShowPageSetup(SheetView sheet, bool showPrintButton, bool showPreviewButton)
Public Function ShowPageSetup(sheet As SheetView, showPrintButton As Boolean, showPreviewButton As Boolean) As DialogResult
Parameters
Type Name Description
SheetView sheet

Sheet

bool showPrintButton

Whether to display the Print button

bool showPreviewButton

Whether to display the Print Preview button

Returns
Type Description
DialogResult