officefileapi-devexpress-dot-barcodes-dot-barcode-1a83517d.md
Gets or sets the background color of a bar code image.
Namespace : DevExpress.BarCodes
Assembly : DevExpress.Docs.v25.2.dll
NuGet Package : DevExpress.Document.Processor
public Color BackColor { get; set; }
Public Property BackColor As Color
| Type | Description |
|---|---|
| Color |
A Color object specifying the image background color.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the BackColor 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.
asp-net-web-forms-grid-display-barcode-in-column/CS/ASPxGridViewBarCode/Default.aspx.cs#L27
barCode.CodeText = parameter;
barCode.BackColor = Color.White;
barCode.ForeColor = Color.Black;
asp-net-web-forms-grid-display-barcode-in-column/VB/ASPxGridViewBarCode/Default.aspx.vb#L33
barCode.CodeText = parameter
barCode.BackColor = Color.White
barCode.ForeColor = Color.Black
See Also