Selection.Orientation Property

Returns or sets the orientation of text in a selection when the Text Direction feature is enabled.

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


Property Orientation As WdTextOrientation
Dim instance As Selection
Dim value As WdTextOrientation

value = instance.Orientation

instance.Orientation = value
WdTextOrientation Orientation { get; set; }

Property Value

Type: Microsoft.Office.Interop.Word.WdTextOrientation


Some of the WdTextOrientation constants 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.

See Also


Selection Interface

Selection Members

Microsoft.Office.Interop.Word Namespace