Sets the foreground color for the barcode control.

<void> Barcode.setForeColor(<string> value, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
value The foreground color as a CSS color string.
callback Optional. Is called when the operation completed.
errorCallback Optional. Is called when the operation failed with an error.