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.v24.1.dll

NuGet Package: DevExpress.Document.Processor

Declaration

public virtual QRCodeCompactionMode CompactionMode { get; set; }

Property Value

Type Description
QRCodeCompactionMode

A QRCodeCompactionMode enumeration member that specifies the data compaction mode.

Available values:

Name Description
Numeric

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

AlphaNumeric

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.

Byte

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
BarCodeOptions
.QRCode .CompactionMode

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

Note

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