Share via


TextDirection Property

PpDirection

PpDirection can be one of these PpDirection constants.
ppDirectionLeftToRight
ppDirectionMixed
ppDirectionRightToLeft

expression.TextDirection

*expression   * Required. An expression that returns one of the objects in the Applies To list.

Example

This example displays the text direction for the paragraphs in shape two on slide one in the active presentation.

MsgBox ActivePresentation.Slides(1).Shapes(2).TextFrame.TextRange _
    .ParagraphFormat.TextDirection

Applies to | ParagraphFormat Object