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