TextDirection Property

Applies To

ParagraphFormat object.

Description

Middle East version only. Returns or sets the text direction for the specified paragraph. Can be one of the following PpDirection constants: ppDirectionLeftToRight, ppDirectionMixed, or ppDirectionRightToLeft. Read/write Long.

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