Range.Orientation Property
Returns or sets the orientation of text in a range when the Text Direction feature is enabled.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property Orientation As WdTextOrientation
Get
Set
'Usage
Dim instance As Range
Dim value As WdTextOrientation
value = instance.Orientation
instance.Orientation = value
WdTextOrientation Orientation { get; set; }
Property Value
Type: Microsoft.Office.Interop.Word.WdTextOrientation
Remarks
Some of the constants listed above may not be available to you, depending on the language support (U.S. English, for example) that you’ve selected or installed.
You can set the orientation for a text frame or for a range or selection that happens to occur inside a text frame. For information about the difference between a text frame and a text box, see the TextFrame object.