TextEditor.FontFamily

Syntax

FontFamily: PP.Font.Family;

Description

The FontFamily property determines font family for selected text.

Comments

Use the setFontFamily method to set the property value and the getFontFamily method to get the property value. Property value cannot be set from JSON.

The setFontFamily method has the following parameters: value - font family 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