Skip to main content
A newer version of this page is available. .

XRBarCode.BinaryData Property

Gets or sets the byte array to be coded into a bar code.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v21.2.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

[SRCategory(ReportStringId.CatData)]
public byte[] BinaryData { get; set; }

Property Value

Type Description
Byte[]

An array of Byte values to be coded into a bar code.

Remarks

Use the BinaryData property to code a byte array into a bar code. The following bar code symbologies support encoding binary data.

By default, all bar code symbologies encode textual data, provided by a bar code’s XRBarCode.Text property. To encode binary data, set the CompactionMode of a symbology to Binary.

See Also