Javascript: TXTextControl.ListFormat.getType Method

Gets the type of the list, bulleted, numbered or none. The property's value is one of the values of the ListType enumeration. 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.


<void> ListFormat.getType(<function> callback);
Parameter Description

A function with one parameter is called with the type of the list.


The property's default value is ListType.None. The property returns its default value when the text selection contains multiple paragraphs with mixed types.

See Also