TextEditor.Alignment

Syntax

Alignment: PP.HorizontalAlignment;

Description

The Alignment property determines horizontal text alignment.

Comments

Use the setAlignment method to set the property value, and the getAlignment method to get the property value. Property value cannot be set from JSON.

The setAlignment method has the following parameters: value - alignment value, updateControl - parameter indicating if the component is updated (this is an optional parameter, by default it is set to true).

Example

The example of use is given in the page with description of the TextEditor.PropertyChanged event.

See also:

TextEditor