Spread Windows Forms 15.0
FarPoint.Excel Assembly / FarPoint.Excel Namespace / SheetViewSynchronizer Class / SetPageSetup Method / SetPageSetup(IExcelRead,CT_Worksheet,Int16,Double,Double) Method
GrapeCity Spread
Worksheet
Index of the sheet
header margin
footer margin


In This Topic
    SetPageSetup(IExcelRead,CT_Worksheet,Int16,Double,Double) Method
    In This Topic
    Sets the page setup.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub SetPageSetup( _
       ByVal spread As IExcelRead, _
       ByVal sheet As CT_Worksheet, _
       ByVal sheetIndex As Short, _
       ByVal headerMargin As Double, _
       ByVal footerMargin As Double _
    ) 
    'Usage
     
    
    Dim spread As IExcelRead
    Dim sheet As CT_Worksheet
    Dim sheetIndex As Short
    Dim headerMargin As Double
    Dim footerMargin As Double
     
    SheetViewSynchronizer.SetPageSetup(spread, sheet, sheetIndex, headerMargin, footerMargin)
    public static void SetPageSetup( 
       IExcelRead spread,
       CT_Worksheet sheet,
       short sheetIndex,
       double headerMargin,
       double footerMargin
    )

    Parameters

    spread
    GrapeCity Spread
    sheet
    Worksheet
    sheetIndex
    Index of the sheet
    headerMargin
    header margin
    footerMargin
    footer margin
    See Also