Javascript: TXTextControl.ParagraphFormat.getLineSpacing Method

Gets the line spacing of a paragraph as a percentage of the font size. 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.getLineSpacing(<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 the line spacing of a paragraph as a percentage of the font size.

Remarks

The property's default value is 100 percent. The property returns its default value, if the text selection contains multiple paragraphs with different values for this property.

See Also