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


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

    Parameters

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