ParagraphFormat.TextDirection property (PowerPoint)
Returns or sets the text direction for the specified paragraph. Read/write.
Syntax
expression. TextDirection
expression A variable that represents a ParagraphFormat object.
Return value
PpDirection
Remarks
The default value depends on the language support you have selected or installed.
The value of the TextDirection property can be one of these PpDirection constants.
ppDirectionLeftToRight |
ppDirectionMixed |
ppDirectionRightToLeft |
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
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.