Range.Orientation Property

Definition

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

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

Property Value

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.

Applies to