RequestPageCallback Function
Description
Callback function for requesting a page.
Syntax
function(<Page> page)Examples
The following example demonstrates RequestPageCallback in a practical document-editing workflow. Callback function for requesting a page.
function onTxError(error) {
console.error("TX Text Control error:", error.msg);
error.handled = true;
}
function requestPageCallback(page) {
console.log("page:", page);
}
TXTextControl.pages.getItem(requestPageCallback, onTxError);