Javascript: TXTextControl.PageMargins.getTop Method

Gets the top margin of a TX Text Control document or document section.

Syntax

[JavaScript]
<void> PageMargins.getTop(<function> callback);
Parameter Description
callback

A function with one parameter is called with the top margin of a TX Text Control document or document section..

Remarks

The margin's default value is 1 inch. The property returns its default value when the text selection contains multiple sections with mixed margins.

See Also