Share via


PageSetup.PaperSize Property

Returns or sets the size of the paper.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property PaperSize As XlPaperSize
    Get
    Set
'Usage
Dim instance As PageSetup
Dim value As XlPaperSize

value = instance.PaperSize

instance.PaperSize = value
XlPaperSize PaperSize { get; set; }

Property Value

Type: Microsoft.Office.Interop.Excel.XlPaperSize

See Also

Reference

PageSetup Interface

PageSetup Members

Microsoft.Office.Interop.Excel Namespace