TextEditor.FontSize

Syntax

FontSize: Number;

Description

The FontSize property sets font size for selected text.

Comments

Use the setFontSize method to set the property value and the getFontSize method to get the property value. Property value cannot be set from JSON.

The setFontSize method has the following parameters: value - font size of selected text, 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