Spread WinForms 15
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / FpSpread Class / ShowPageSetup Method / ShowPageSetup(Int32,Boolean,Boolean) Method
Sheet index
Whether to display the Print button
Whether to display the Print Preview button


ShowPageSetup(Int32,Boolean,Boolean) Method
Shows the page setup dialog with the specified buttons for the specified sheet.
Syntax
'Declaration
 
Public Overloads Function ShowPageSetup( _
   ByVal sheet As Integer, _
   ByVal showPrintButton As Boolean, _
   ByVal showPreviewButton As Boolean _
) As DialogResult
 
'Usage
 
Dim instance As FpSpread
Dim sheet As Integer
Dim showPrintButton As Boolean
Dim showPreviewButton As Boolean
Dim value As DialogResult
 
value = instance.ShowPageSetup(sheet, showPrintButton, showPreviewButton)

Parameters

sheet
Sheet index
showPrintButton
Whether to display the Print button
showPreviewButton
Whether to display the Print Preview button
Exceptions
ExceptionDescription
Specified sheet index is out of range; must be between 0 and the total number of sheets.
See Also