DataMatrixSymbology.CompactionMode Property
In This Article
Gets or sets whether text or binary mode should be used to encode the barcode’s data.
Namespace: DevExpress.WinUI.Controls
Assembly: DevExpress.WinUI.BarCode.v23.2.dll
NuGet Package: DevExpress.WinUI
#Declaration
[DP(DataMatrixCompactionMode.ASCII, Handler = "CompactionModePropertyChanged")]
[TypeConverter(typeof(XamlEnumTypeConverter<DataMatrixCompactionMode>))]
public DataMatrixCompactionMode CompactionMode { get; set; }
#Property Value
Type | Description |
---|---|
DevExpress. |
A DevExpress. |
#Remarks
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. |
See Also