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 As IExcelRead, _
ByVal As CT_PageSetup, _
ByVal As CT_SheetPr, _
ByVal As Short, _
ByVal As Double, _
ByVal 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 ,
CT_PageSetup ,
CT_SheetPr ,
short ,
double ,
double
)
Parameters
- spread
- GrapeCity Spread
- pageSetup
- sheetPr
- sheetIndex
- Index of the sheet
- headerMargin
- header margin
- footerMargin
- footer margin
See Also