See Also

IPageSetup Interface  | IPageSetup Members

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

C++

C++/CLI

Show All

See Also Languages SpreadsheetGear The Performance Spreadsheet Component Company 

PaperSize Property

SpreadsheetGear Namespace > IPageSetup Interface : PaperSize Property (IPageSetup)

Gets or sets the property which specifies the size of the paper to print to.

[Visual Basic]
Overridable Property PaperSize As PaperSize
[C#]
virtual PaperSize PaperSize {get; set;}
[C++]
__property virtual PaperSize get_PaperSize(); __property virtual void set_PaperSize(    PaperSize value );
[C++/CLI]
virtual property PaperSize PaperSize {    PaperSize get();    void set (PaperSize value); }

Remarks

Set PaperSize to PaperSize.Default to specify the default paper size of the output device.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

IPageSetup Interface  | IPageSetup Members

 

 


See our live Excel Reporting, Excel Charting, Excel to DataGrid and Excel Calculation Samples.

Copyright © 2003-2007 SpreadsheetGear LLC. All Rights Reserved.

SpreadsheetGear and Spreadsheet Gear are trademarks of SpreadsheetGear LLC.