RtlPara Method

Microsoft Word Visual Basic

RtlPara Method

       

Sets the reading order and alignment of the specified paragraphs to right-to-left.

expression.RtlPara

expression   Required. An expression that returns a Selection object.

Remarks

For all selected paragraphs, this method sets the reading order to right-to-left. If a paragraph with a left-to-right reading order is also left-aligned, this method reverses its reading order and sets its paragraph alignment to right-aligned.

Use the ReadingOrder property to change the reading order without affecting paragraph alignment.

For more information on using Microsoft Word with right-to-left languages, see Word features for right-to-left languages.

Example

This example sets the reading order and alignment of the current selection to right-to-left if the selection isn't styled as "Normal."

If Selection.Style <> "Normal" Then _
    Selection.RtlPara