Javascript: TXTextControl.ListFormat.getNumberFormat Method

Gets the number format for a numbered list. The property's value is a member of the NumberFormat 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.

Syntax

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

A function with one parameter is called with the number format for a numbered list.

Remarks

The property's default value is NumberFormat.ArabicNumbers. The property returns its default value when the text selection contains multiple paragraphs with mixed number formats or when the text selection does not contain a numbered list.

See Also