DS Server

Javascript: TXTextControl.pageSize Property

Property|Introduced in 28.0

Description

The width and height of the pages for the current document. The measure depends on the page unit. The default measure is 1/100th inch.

Syntax

<PageSize> TXTextControl.pageSize

Examples

The following example demonstrates TXTextControl.pageSize in a practical document-editing workflow. The width and height of the pages for the current document. The measure depends on the page unit. The default measure is 1/100th inch.

const pageSize = tXTextControl.pageSize;
console.log("page size:", pageSize);

Limitations

Read Only.