QRCodeOptions.Version Property
Gets or sets the QR Code version.
Namespace: DevExpress.BarCodes
Assembly: DevExpress.Docs.v24.2.dll
NuGet Package: DevExpress.Document.Processor
Declaration
Property Value
Type | Description |
---|---|
QRCodeVersion | A QRCodeVersion enumeration value indicating the code version. |
Available values:
Name | Description |
---|---|
AutoVersion | The auto-calculated version. |
Version1 | Version 1 (21 x 21 modules) |
Version2 | Version 2 (25 x 25 modules). |
Version3 | Version 3 (29 x 29 modules). |
Version4 | Version 4 (33 x 33 modules). |
Version5 | Version 5 (37 x 37 modules). |
Version6 | Version 6 (41 x 41 modules). |
Version7 | Version 7 (45 x 45 modules). |
Version8 | Version 8 (49 x 49 modules) |
Version9 | Version 9 (53 x 53 modules). |
Version10 | Version 10 (57 x 57 modules) |
Version11 | Version 11 (61 x 61 modules). |
Version12 | Version 12 (65 x 65 modules). |
Version13 | Version 13 (69 x 69 modules). |
Version14 | Version 14 (73 x 73 modules). |
Version15 | Version 15 (77 x 77 modules). |
Version16 | Version 16 (81 x 81 modules). |
Version17 | Version 17 (85 x 85 modules). |
Version18 | Version 18 (89 x 89 modules). |
Version19 | Version 19 (93 x 93 modules). |
Version20 | Version 20 (97 x 97 modules). |
Version21 | Version 21 (101 x 101 modules). |
Version22 | Version 22 (105 x 105 modules). |
Version23 | Version 23 (109 x 109 modules). |
Version24 | Version 24 (113 x 113 modules). |
Version25 | Version 25 (117 x 117 modules). |
Version26 | Version 26 (121 x 121 modules). |
Version27 | Version 27 (125 x 125 modules). |
Version28 | Version 28 (129 x 129 modules). |
Version29 | Version 29 (133 x 133 modules). |
Version30 | Version 30 (137 x 137 modules). |
Version31 | Version 31 (141 x 141 modules). |
Version32 | Version 32 (145 x 145 modules). |
Version33 | Version 33 (149 x 149 modules). |
Version34 | Version 34 (153 x 153 modules). |
Version35 | Version 35 (157 x 157 modules). |
Version36 | Version 36 (161 x 161 modules). |
Version37 | Version 37 (165 x 165 modules). |
Version38 | Version 38 (169 x 169 modules). |
Version39 | Version 39 (173 x 173 modules). |
Version40 | Version 40 (177 x 177 modules). |
Property Paths
You can access this nested property as listed below:
Object Type | Path to Version |
---|---|
BarCodeOptions |
|
Remarks
The QR code version defines the size of a code’s side.
The code snippet below shows how to use the Version property to specify the QR Code size:
BarCode barCode = new BarCode();
barCode.Symbology = Symbology.QRCode;
barCode.Options.QRCode.Version = QRCodeVersion.Version10;