Sets the selection's foreground color.

Introduced: X16.

<void> Selection.setForeColor(<string> foreColor, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
foreColor The selection's foreground color.
callback Optional. Is called when the operation completed.
errorCallback Optional. Is called when the operation failed with an error.