Share via


Selection.RtlRun Method (Word)

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

Syntax

expression .RtlRun

expression Required. A variable that represents a Selection object.

Remarks

For the specified run, this method sets the reading order to right-to-left. If a paragraph in the run 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.

Example

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

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

See Also

Concepts

Selection Object

Selection Object Members