BarCodePropertyProvider.DataMatrixCompactionMode Property
Gets or sets whether textual information or a byte array should be used as the barcode’s data, as well as its encoding. This is a dependency property.
Namespace: DevExpress.Xpf.Editors
Assembly: DevExpress.Xpf.Core.v24.2.dll
NuGet Package: DevExpress.Wpf.Core
#Declaration
[ValueSerializer(typeof(XamlEnumSerializer<DataMatrixCompactionMode>))]
public DataMatrixCompactionMode DataMatrixCompactionMode { get; set; }
#Property Value
Type | Description |
---|---|
Data |
A Data |
Available values:
Name | Description |
---|---|
ASCII | Data is encoded into text using the ASCII standard, which uses 4 bits (for double digits), 8 bits (for ASCII 0-127 symbols), or 16 bits (for ASCII 128-255 symbols). |
C40 | Data is encoded into text using the C40 standard, which uses 5. |
Text | Data is encoded into text, which uses 5. |
X12 | Data is encoded into text using the X12 standard, which uses 5. |
Edifact | Data is encoded into text using the EDIFACT standard, which uses 6 bits per symbol. |
Binary | Data is encoded into a binary array, using 8 bits per symbol. |
#Remarks
If the DataMatrixCompactionMode property is set to Binary, the barcode’s data is obtained from the BarCodeEdit.BinaryData property. Otherwise, the barcode’s data is obtained from the barcode’s EditValue property.