Sets the foreground color of the control which is the color of the document's text.
Introduced: X18.
<void> TXTextControl.setForeColor(<String> foreColor, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])
Parameter | Description |
---|---|
fore |
Foreground color. |
callback | Optional. Is called when the operation completed. |
error |
Optional. Is called when the operation failed with an error. |