PageSetup.PaperSize Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.