Spread WPF 17
GrapeCity.Excel Namespace / IExcelReader Interface / SetPrintPageMargin Method
The zero based sheet index used to locate the ExcelWorksheet instance
A IExcelPrintPageMargin instance used to set the property ExcelPrintPageMargin for the specified ExcelWorksheet instance.


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

    Parameters

    sheet
    The zero based sheet index used to locate the ExcelWorksheet instance
    printMargin
    A IExcelPrintPageMargin instance used to set the property ExcelPrintPageMargin for the specified ExcelWorksheet instance.
    Exceptions
    ExceptionDescription
    throws when the printMargin is null
    See Also