Skip to main content
.NET Framework 4.5.2+

BarCode.ForeColor Property

Gets or sets the color of bars in the bar code image.

Namespace: DevExpress.BarCodes

Assembly: DevExpress.Docs.v22.2.dll

Declaration

public Color ForeColor { get; set; }

Property Value

Type Description
Color

A Color used to paint the bars of the bar code.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ForeColor property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also