Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
  • The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.

QRCodeOptions.CompactionMode Property

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

Namespace: DevExpress.BarCodes

Assembly: DevExpress.Docs.v19.1.dll

Declaration

public 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.

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