Skip to main content

QRCodeOptions.CompactionMode Property

Gets or sets the mode for data encoding in the QR code.

Namespace: DevExpress.BarCodes

Assembly: DevExpress.Docs.v23.2.dll

NuGet Package: DevExpress.Document.Processor


public virtual QRCodeCompactionMode CompactionMode { get; set; }

Property Value

Type Description

A QRCodeCompactionMode enumeration member that specifies the data compaction mode.

Available values:

Name Description

Encodes data from the set of digits from 0 to 9.


Encodes data from a set of alphanumeric characters, i.e., digits 0 - 9; upper case letters A - Z; other characters: space, ($), (%), (*), (+), (-), (.), (/) and (:). The default mode.


Data is encoded at 8 bits per character (IEC_8859-1).

Property Paths

You can access this nested property as listed below:

Object Type Path to CompactionMode
.QRCode .CompactionMode

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CompactionMode property.


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