SpreadsheetGear 2017
PaperSize Property (IPageSetup)






SpreadsheetGear Namespace > IPageSetup Interface : PaperSize Property
Gets or sets the property which specifies the size of the paper to print to.
Syntax
'Declaration
 
Property PaperSize As PaperSize
'Usage
 
Dim instance As IPageSetup
Dim value As PaperSize
 
instance.PaperSize = value
 
value = instance.PaperSize
PaperSize PaperSize {get; set;}
read-write property PaperSize: PaperSize; 
function get,set PaperSize : PaperSize
__property PaperSize get_PaperSize();
__property void set_PaperSize( 
   PaperSize value
);
property PaperSize PaperSize {
   PaperSize get();
   void set (    PaperSize value);
}
Remarks
Set IPageSetup.PaperSize to PaperSize.Default to specify the default paper size of the output device.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IPageSetup Interface
IPageSetup Members