Javascript: TXTextControl.ListFormat.getFontName Method

Gets the font used for the bullet character. When a new bullet character is set without specifying a font, the Windows Symbol font is assumed. Takes a callback function with one parameter as a parameter. The callback function is called with the value as parameter upon receiving the information from the server.

Syntax

[JavaScript]
<void> ListFormat.getFontName(<function> callback);
Parameter Description
callback

A function with one parameter is called with the font used for the bullet character. When a new bullet character is set without specifying a font, the Windows Symbol font is assumed.

Remarks

The property returns an empty string when the text selection contains multiple paragraphs with mixed settings or when the text selection does not contain a numbered list.

See Also