Javascript: TXTextControl.ParagraphFormat.getAbsoluteLineSpacing Method

Gets the line spacing of a paragraph in twips. Takes a callback function with one parameter as a parameter. The callback function is called with the value as parameter upon receiving the absolute linespacing information from the server.

Syntax

[JavaScript]
<void> ParagraphFormat.getAbsoluteLineSpacing(<function> callback);
Parameter Description
callback

A function with one parameter. Is called with the absolute linespacing in twips as a parameter upon receiving the selection information from the server.

Remarks

The property's default value is 0, indicating that the line spacing depends on the font height. The property returns its default value when the text selection contains multiple paragraphs with mixed line spacing.

See Also