Javascript: TXTextControl.PageSize.getWidth Method

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

Syntax

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

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

Remarks

The width's default value is 8.5 inch. The property returns its default value when the text selection contains multiple sections with mixed page widths.

See Also