DS Server

Javascript: TXTextControl.pageMargins Property

Property|Introduced in 28.0

Description

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

Syntax

<PageMargins> TXTextControl.pageMargins

Examples

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

const pageMargins = tXTextControl.pageMargins;
console.log("page margins:", pageMargins);

Limitations

Read Only.