Javascript: TXTextControl.getBackColor Method

Returns the background color of the main text area and the ruler bars by calling a provided callback function.

Introduced: 24.0.

Syntax

<void> TXTextControl.getBackColor(<function> callback);
Parameter Description
callback

A function with one parameter. Is called with the background color as the parameter value as soon as the information has been retrieved from the server. The color is given as a hexadecimal CSS color string. (e. g. "#FFABC3")

See Also