Javascript: TXTextControl.ParagraphFormat.getFrameDistance Method

Gets the distance, in twips, between the text and the paragraph's frame. 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.getFrameDistance(<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. The frame's distance is an integer value, in twips, between the text and the paragraph's frame.

Remarks

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

See Also