TX Text Control .NET Server

Javascript: TXTextControl.pages Property

Property|Introduced in 28.0

Description

Gets a collection of all pages in the document.

Syntax

<PageCollection> TXTextControl.pages

Examples

The following example demonstrates TXTextControl.pages in a practical document-editing workflow. It gets a collection of all pages in the document.

function onTxError(error) {
    console.error("TX Text Control error:", error.msg);
    error.handled = true;
}

tXTextControl.pages.getCount(function(count) {
    console.log("pages count:", count);
}, onTxError);

Limitations

Read Only.