RequestNumberFormatsCallback Function
Description
Callback function for requesting an array of NumberFormat values.
Syntax
function(<NumberFormat[]> result)Examples
The following example demonstrates RequestNumberFormatsCallback in a practical document-editing workflow. Callback function for requesting an array of NumberFormat values.
function onTxError(error) {
console.error("TX Text Control error:", error.msg);
error.handled = true;
}
function requestNumberFormatsCallback(result) {
console.log("result:", result);
}
TXTextControl.inputFormat.getNumberFormats(requestNumberFormatsCallback, onTxError);