Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

XRBarCode.BinaryData Property

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

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.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