Diese Dokumentation wurde archiviert und wird nicht länger gepflegt.

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)

Dim range1 As Range

Dim returnValue As WdTextOrientation
returnValue = range1.Orientation

Dim sampleValue As WdTextOrientation
range1.Orientation = sampleValue

WdTextOrientation Orientation {get; set;}
public WdTextOrientation get_Orientation();
public void set_Orientation(WdTextOrientation);
function get Orientation() : WdTextOrientation;
function set Orientation(WdTextOrientation);

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms