Javascript: TXTextControl.Selection.getItalic Method

Gets the italic attribute of the selected text. Takes a callback function as a parameter which is called with the italic attribute of the selected text.

Introduced: 26.0.

Syntax

[JavaScript]
<void> Selection.getItalic(<function> callback);
Parameter Description
callback

A function with one parameter. Is called with the italic attribute of the selected text. The property returns its default value when the text selection contains multiple characters with mixed setting.

See Also