[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IQRCode.Version

Version Property

Version

Gets the QR Code version used by the BC_QRCODE formula result.

For Model 1, the version range is 1 to 14. For Model 2, the version range is 1 to 40. This property supports auto configuration, represented by -1, as well as explicit numeric version values.

Declaration
int Version { get; }
ReadOnly Property Version As Integer
Examples
worksheet.Range["A1"].Value = "1234567890";
worksheet.Range["B1"].Formula = "=BC_QRCODE(A1,\"rgb(0, 0, 0)\",\"rgb(255, 255, 255)\",\"L\",2,\"auto\",\"auto\",FALSE,0,,\"UTF-8\",4,4,4,4)";
IQRCode qrCode = (IQRCode) worksheet.Range["B1"].Value;
int version = qrCode.Version;