Javascript: TXTextControl.PageSize.getHeight Method

Gets the page height of a document or document section. The measure depends on the PageUnit property.

Syntax

[JavaScript]
<void> PageSize.getHeight(<function> callback);
Parameter Description
callback

A function with one parameter is called with the page height of a document or document section.

Remarks

The height's default value is 11 inch. The property returns its default value when the text selection contains multiple sections with mixed page heights.

See Also