Javascript: TXTextControl.PageBorder.getTopDistance Method

Gets the distance, in twips, of the top border line either from the edge of the page or from the text, depending on the MeasureFromText property.

Syntax

[JavaScript]
<void> PageBorder.getTopDistance(<function> callback);
Parameter Description
callback

A function with one parameter is called with the distance, in twips, of the top border line.

Remarks

The property's default value is PageBorder.DefaultDistance. The property returns its default value when the text selection contains multiple sections with mixed setting.

See Also