| GrapeCity.Excel Namespace > IExcelReader Interface : SetPrintPageSetting Method | 
'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 )
| Exception | Description | 
|---|---|
| System.ArgumentNullException | throws when the pageSetting is null | 
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)