QRCodeGenerator.Version Property

Gets or sets the bar code's size.

Namespace: DevExpress.XtraPrinting.BarCode

Assembly: DevExpress.Printing.v20.2.Core.dll

Declaration

[DefaultValue(QRCodeVersion.AutoVersion)]
public QRCodeVersion Version { get; set; }
<DefaultValue(QRCodeVersion.AutoVersion)>
Public Property Version As QRCodeVersion

Property Value

Type Default Description
QRCodeVersion

AutoVersion

A QRCodeVersion enumeration value.

Remarks

The Version property value defines the size of a bar code's side using the following formula: 17 + 4 * Version.

The product of the XRBarCode.Module property value and this formula result defines the bar code's dimensions in pixels.

See Also