[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IQRCode.Model

Model Property

Model

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

The default value is 2.

The example below explicitly sets the model to 1.

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