Edit

Share via


TextFrame.Orientation Property

Definition

Returns or sets the orientation of the text inside the frame.

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

Property Value

Remarks

MsoTextOrientation can be one of these MsoTextOrientation constants.

msoTextOrientationDownward

msoTextOrientationHorizontal

msoTextOrientationHorizontalRotatedFarEast

msoTextOrientationMixed

msoTextOrientationUpward

msoTextOrientationVertical

msoTextOrientationVerticalFarEast

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