Skip to main content
.NET Framework 4.5.2+

BarCode.CodeBinaryData Property

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

Namespace: DevExpress.BarCodes

Assembly: DevExpress.Docs.v22.2.dll

Declaration

public byte[] CodeBinaryData { get; set; }

Property Value

Type Description
Byte[]

An array of bytes to be coded using the bar code’s symbology.

Remarks

Use the CodeBinaryData property to code a byte array into a bar code. Only applicable to certain bar code types, such as the Data Matrix (ECC200), GS1- Data Matrix, PDF417 and QR Code bar codes.

Set the CompactionMode property (specifically, DataMatrixOptions.CompactionMode or the PDF417Options.CompactionMode, or QRCodeOptions.CompactionMode respectively) to DataMatrixCompactionMode.Binary to use data specified by the CodeBinaryData property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CodeBinaryData 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