Skip to main content

DataMatrixOptions.CompactionMode Property

Gets or sets the encoding scheme used to encode data in the DataMatrix Code.

Namespace: DevExpress.BarCodes

Assembly: DevExpress.Docs.v23.2.dll

NuGet Package: DevExpress.Document.Processor

Declaration

public DataMatrixCompactionMode CompactionMode { get; set; }

Property Value

Type Description
DataMatrixCompactionMode

A DataMatrixCompactionMode enumeration member that specifies the encoding scheme.

Available values:

Name Description
ASCII

Encoding mode used to store double digit numerics, ASCII values 0 - 127, and Extended ASCII values 128 - 255.

C40

Encoding mode for upper-case alphanumeric, lower case and special characters.

Text

Encoding mode for lower-case alphanumeric, upper case and special characters.

X12

Encoding mode for ANSI X12 EDI data set.

Edifact

Encoding mode for ASCII values from 32 to 94.

Binary

Encoding mode used to store binary data. They are encoded using 8 bits per symbol.

Property Paths

You can access this nested property as listed below:

Object Type Path to CompactionMode
BarCodeOptions
.DataMatrix .CompactionMode

Remarks

If the CompactionMode is set to Binary, the data is obtained from the BarCode.CodeBinaryData property. Otherwise, the bar code data is obtained from the BarCode.CodeText property.

See Also