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

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

IExcelReader Interface
IExcelReader Members

 

 


Copyright © GrapeCity, inc. All rights reserved.