RequestNumberFormatCallback Function
Description
Callback function for requesting a NumberFormat value.
Syntax
function(<NumberFormat> result)Examples
The following example demonstrates RequestNumberFormatCallback in a practical document-editing workflow. Callback function for requesting a NumberFormat value.
function onTxError(error) {
console.error("TX Text Control error:", error.msg);
error.handled = true;
}
function requestNumberFormatCallback(result) {
console.log("result:", result);
}
TXTextControl.footnotes.getNumberFormat(requestNumberFormatCallback, onTxError);