DataMatrixGS1Generator.CompactionMode Property

Specifies whether textual information or a byte array should be used as the bar code's data, as well as its encoding.

Namespace: DevExpress.XtraPrinting.BarCode

Assembly: DevExpress.Printing.v20.2.Core.dll


public override DataMatrixCompactionMode CompactionMode { get; set; }
Public Overrides Property CompactionMode As DataMatrixCompactionMode

Property Value

Type Description

A DataMatrixCompactionMode enumeration value.


If the CompactionMode is set to Binary, the bar code's data is obtained from the XRBarCode.BinaryData property.

Otherwise, the bar code's data is obtained from the XRBarCode.Text property, and textual information is encoded using the ISO 8859-1 character set.

For more information, see GS1- Data Matrix.

See Also