Spread WPF Documentation
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.
Set the print page margins for specified IExcelWorkbook instance.
Syntax
'Declaration
 
Sub SetPrintPageMargin( _
   ByVal sheet As System.Short, _
   ByVal printMargin As IExcelPrintPageMargin _
) 
'Usage
 
Dim instance As IExcelReader
Dim sheet As System.Short
Dim printMargin As IExcelPrintPageMargin
 
instance.SetPrintPageMargin(sheet, printMargin)
void SetPrintPageMargin( 
   System.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
System.ArgumentNullExceptionthrows when the printMargin is null
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

IExcelReader Interface
IExcelReader Members

 

 


Copyright © GrapeCity, inc. All rights reserved.