Javascript: TXTextControl.getBackColor Method
Description
Gets the Text Control's background color.
Syntax
<void> TXTextControl.getBackColor(<RequestColorStringCallback> callback)Parameters
| Parameter | Description |
|---|---|
| callback | Receives the background color. |
Examples
The following example demonstrates TXTextControl.getBackColor in a practical document-editing workflow. It gets the Text Control's background color.
TXTextControl.getBackColor(
function(color) {
console.log("get back color result:", color);
}
);