Spread Windows Forms 17
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, _
       Optional ByVal activeTab As PageSetup.PageSetupTab _
    )
    'Usage
     
    
    Dim spread As FpSpread
    Dim sheet As Integer
    Dim showPrintButton As Boolean
    Dim showPreviewButton As Boolean
    Dim activeTab As PageSetup.PageSetupTab
     
    Dim instance As New PageSetup(spread, sheet, showPrintButton, showPreviewButton, activeTab)

    Parameters

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