​
​
​

Gets the foreground color of the control which is the color of the document's text.

​ Introduced: X18.

​<void> TXTextControl.getForeColor(<RequestStringCallback> callback, [<ErrorCallback> errorCallback])

Parameters

Parameter Description
callback Receives the set foreground color.
errorCallback Optional. Is called when the operation failed with an error.
​