PageSetup.Orientation Property
Returns or sets the orientation of the page.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property Orientation As WdOrientation
Get
Set
'Usage
Dim instance As PageSetup
Dim value As WdOrientation
value = instance.Orientation
instance.Orientation = value
WdOrientation Orientation { get; set; }
Property Value
Type: Microsoft.Office.Interop.Word.WdOrientation
Remarks
Some of the WdOrientation constants may not be available to you, depending on the language support (U.S. English, for example) that you’ve selected or installed.