Javascript: StatusBarViewGeneratorColors.getBackColorMiddle Method
Description
Gets the background color in the middle of the status bar.
Syntax
<void> StatusBarViewGeneratorColors.getBackColorMiddle(<RequestStringCallback> callback, [<ErrorCallback> errorCallback])Parameters
| Parameter | Description |
|---|---|
| callback | Receives the color value. |
| errorCallback | Optional. Is called when the operation failed with an error. |
Examples
The following example demonstrates StatusBarViewGeneratorColors.getBackColorMiddle in a practical document-editing workflow. It gets the background color in the middle of the status bar.
function onTxError(error) {
console.error("TX Text Control error:", error.msg);
error.handled = true;
}
function inspectBackColorMiddle(statusBarViewGeneratorColors) {
statusBarViewGeneratorColors.getBackColorMiddle(
function(result) {
console.log("get back color middle result:", result);
},
onTxError
);
}