Spread WPF 17
GrapeCity.Excel Namespace / IExcelReader Interface / SetPrintPageSetting Method
The zero based sheet index used to locate the IExcelWorkbook instance
A IExcelPrintPageSetting instance used to set the property ExcelPrintPageSetting for the specified ExcelWorksheet instance.


In This Topic
    SetPrintPageSetting Method
    In This Topic
    Set the print page margins for specified IExcelWorkbook instance.
    Syntax
    'Declaration
     
    Sub SetPrintPageSetting( _
       ByVal sheet As Short, _
       ByVal pageSetting As IExcelPrintPageSetting _
    ) 
    'Usage
     
    Dim instance As IExcelReader
    Dim sheet As Short
    Dim pageSetting As IExcelPrintPageSetting
     
    instance.SetPrintPageSetting(sheet, pageSetting)
    void SetPrintPageSetting( 
       short sheet,
       IExcelPrintPageSetting pageSetting
    )

    Parameters

    sheet
    The zero based sheet index used to locate the IExcelWorkbook instance
    pageSetting
    A IExcelPrintPageSetting instance used to set the property ExcelPrintPageSetting for the specified ExcelWorksheet instance.
    Exceptions
    ExceptionDescription
    throws when the pageSetting is null
    See Also