PageSetup.PaperSize Property

Definition

Returns or sets the paper size.

public:
 property Microsoft::Office::Interop::Word::WdPaperSize PaperSize { Microsoft::Office::Interop::Word::WdPaperSize get(); void set(Microsoft::Office::Interop::Word::WdPaperSize value); };
public Microsoft.Office.Interop.Word.WdPaperSize PaperSize { get; set; }
member this.PaperSize : Microsoft.Office.Interop.Word.WdPaperSize with get, set
Public Property PaperSize As WdPaperSize

Property Value

Remarks

Setting the PageHeight or PageWidth property changes the PaperSize property to wdPaperCustom.

Applies to