TX Text Control ActiveX

TextDirection Property

Property

Specifies the writing direction. A paragraph's writing direction can be either left to right or right to left.

Introduced: 20.0.

Syntax

TXTextControl.TextDirection [= value]
SettingDescription
txRightToLeftThe text is formatted from right to left.
txLeftToRight(Default) The text is formatted from left to right.
0Get only. The property returns 0, if more than one paragraph is selected and these paragraphs have different writing directions.

Data Types

Integer.

Remarks

If the FormatSelection property has previously been set to True, changing this property affects only the currently selected paragraphs. If FormatSelection has been set to False, the setting applies to the entire control.

See Also