Javascript: TXTextControl.ParagraphFormat.getTabPositions Method

Gets an array containing the absolute tab stop positions, in twips, in a paragraph. 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> ParagraphFormat.getTabPositions(<function> callback);
Parameter Description
callback

A function with one parameter. The callback function is called with the value as parameter upon receiving the information from the server. This parameter is an array containing the absolute tab stop positions, in twips, in a paragraph.

Remarks

The default positions are multiple of 1134 twips (2 cm). The property returns its default value, if the text selection contains multiple paragraphs with different values for this property.

See Also