Orientation Property

Applies To

TextFrame object.

Description

Returns or sets text orientation. Can be one of the following MsoTextOrientation constants: msoTextOrientationHorizontal, msoTextOrientationMixed, or msoTextOrientationVertical. Read/write Long.

Remarks

The following MsoTextOrientation constants aren't used in the U.S. English versions of Microsoft Office: msoTextOrientationDownward, msoTextOrientationHorizontalRotatedFarEast, msoTextOrientationUpward, or msoTextOrientationVerticalFarEast.

See Also

NotesOrientation property, SlideOrientation property.

Example

This example orients the text horizontally within shape three on myDocument.

Set myDocument = ActivePresentation.Slides(1)
myDocument.Shapes(3).TextFrame.Orientation = _
    msoTextOrientationHorizontal