TextFrame.Orientation Property
Returns or sets the orientation of the text inside the frame.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property Orientation As MsoTextOrientation
Get
Set
'Usage
Dim instance As TextFrame
Dim value As MsoTextOrientation
value = instance.Orientation
instance.Orientation = value
MsoTextOrientation Orientation { get; set; }
Property Value
Type: MsoTextOrientation
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.