SpreadsheetGear 2023
PaperSize Property (IPageSetup)

SpreadsheetGear Namespace > IPageSetup Interface : PaperSize Property
Gets or sets the property which specifies the size of the paper to print to.
Property PaperSize As PaperSize
Dim instance As IPageSetup
Dim value As PaperSize
instance.PaperSize = value
value = instance.PaperSize
PaperSize PaperSize {get; set;}
Set IPageSetup.PaperSize to PaperSize.Default to specify the default paper size of the output device.

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


IPageSetup Interface
IPageSetup Members