Spread WinForms 15
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / PageSetup Class / PageSetup Constructor
FpSpread component
Sheet index
Whether to show the print button
Whether to show the print preview button


In This Topic
PageSetup Constructor
In This Topic
Creates a new printing page setup.
Syntax
'Declaration
 
Public Function New( _
   ByVal spread As FpSpread, _
   ByVal sheet As Integer, _
   ByVal showPrintButton As Boolean, _
   ByVal showPreviewButton As Boolean _
)
 
'Usage
 
Dim spread As FpSpread
Dim sheet As Integer
Dim showPrintButton As Boolean
Dim showPreviewButton As Boolean
 
Dim instance As New PageSetup(spread, sheet, showPrintButton, showPreviewButton)

Parameters

spread
FpSpread component
sheet
Sheet index
showPrintButton
Whether to show the print button
showPreviewButton
Whether to show the print preview button
See Also