Returns or sets the text direction for the specified paragraph. Read/write PpDirection. The default value depends on the language support you have selected or installed.
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