| C1.Web.Wijmo.Controls.C1QRCode Namespace > C1QRCode Class : CodeVersion Property |
'Declaration<System.ComponentModel.DefaultValueAttribute()> <C1CategoryAttribute("Data")> <C1DescriptionAttribute(Key="C1QRCode.CodeVersion", Description="Gets or sets the 'version' of QR code to generate (set to zero to auto-select).")> Public Property CodeVersion As System.Integer
[System.ComponentModel.DefaultValue()] [C1Category("Data")] [C1Description(Key="C1QRCode.CodeVersion", Description="Gets or sets the 'version' of QR code to generate (set to zero to auto-select).")] public System.int CodeVersion {get; set;}
The QR specification includes 40 "versions" of QR codes. Higher versions consume more space and are able to encode more information.
The C1QRCode control can generate QR codes versions one through ten only, which allow encoding up to 652 digits, or 395 alphanumeric characters, or 271 bytes.
Set the CodeVersion property to zero (the default value) to automatically use the most compact version able to render the content specified in the Text property.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2