Javascript: TXTextControl.ListFormat.getFirstNumber Method

Gets the starting number for a numbered list. 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.getFirstNumber(<function> callback);
Parameter Description
callback

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

Remarks

The property's default value is 1. The property returns its default value when the text selection contains multiple paragraphs with mixed starting numbers or when the text selection does not contain a numbered list.

See Also