Muokkaa

Jaa


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

Selection Object

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.