Back to Devexpress

XRBarCode.BinaryData Property

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xrbarcode-a0b93881.md

latest2.0 KB
Original Source

XRBarCode.BinaryData Property

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

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
[SRCategory(ReportStringId.CatData)]
public byte[] BinaryData { get; set; }
vb
<SRCategory(ReportStringId.CatData)>
Public Property BinaryData As Byte()

Property Value

TypeDescription
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

XRBarCode Class

XRBarCode Members

DevExpress.XtraReports.UI Namespace