QRCodeGenerator.Version Property
Gets or sets the barcode’s version.
Namespace: DevExpress.XtraPrinting.BarCode
Assembly: DevExpress.Printing.v24.2.Core.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
QRCodeVersion | AutoVersion | A QRCodeVersion enumeration value. |
Available values:
Name | Description |
---|---|
AutoVersion | The version is auto-calculated. |
Version1 | 21x21 |
Version2 | 25x25 |
Version3 | 29x29 |
Version4 | 33x33 |
Version5 | 37x37 |
Version6 | 41x41 |
Version7 | 45x45 |
Version8 | 49x49 |
Version9 | 53x53 |
Version10 | 57x57 |
Version11 | 61x61 |
Version12 | 65x65 |
Version13 | 69x69 |
Version14 | 73x73 |
Version15 | 77x77 |
Version16 | 81x81 |
Version17 | 85x85 |
Version18 | 89x89 |
Version19 | 93x93 |
Version20 | 97x97 |
Version21 | 101x101 |
Version22 | 105x105 |
Version23 | 109x109 |
Version24 | 113x113 |
Version25 | 117x117 |
Version26 | 121x121 |
Version27 | 125x125 |
Version28 | 129x129 |
Version29 | 133x133 |
Version30 | 137x137 |
Version31 | 141x141 |
Version32 | 145x145 |
Version33 | 149x149 |
Version34 | 153x153 |
Version35 | 157x157 |
Version36 | 161x161 |
Version37 | 165x165 |
Version38 | 169x169 |
Version39 | 177x177 |
Version40 | 177x177 |
Remarks
The Version property value defines the length of a barcode’s side using the following formula: 17 + 4 * Version.
The product of the XRBarCode.Module property value and the result of this formula define the barcode’s dimensions in pixels.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Version 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.