Javascript: TXTextControl.pages Property
Description
Gets a collection of all pages in the document.
Syntax
<PageCollection> TXTextControl.pagesExamples
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.