LEADTOOLS Barcode (Leadtools.Barcode assembly)
LEAD Technologies, Inc

QRSymbolModel Property








Gets or sets the QR barcode symbol model and version. .NET support WinRT support
Syntax
[DisplayNameAttribute("			Symbol model")]
[CategoryAttribute("		Data")]
[DescriptionAttribute("QR symbol model")]
[DefaultValueAttribute()]
public QRBarcodeSymbolModel QRSymbolModel {get; set;}
'Declaration
 
<DisplayNameAttribute("			Symbol model")>
<CategoryAttribute("		Data")>
<DescriptionAttribute("QR symbol model")>
<DefaultValueAttribute()>
Public Property QRSymbolModel As QRBarcodeSymbolModel
'Usage
 
Dim instance As BarcodeData
Dim value As QRBarcodeSymbolModel
 
instance.QRSymbolModel = value
 
value = instance.QRSymbolModel
[DisplayNameAttribute("			Symbol model")]
[CategoryAttribute("		Data")]
[DescriptionAttribute("QR symbol model")]
[DefaultValueAttribute()]
public QRBarcodeSymbolModel QRSymbolModel {get; set;}
ObjectiveC Syntax
Java Syntax
DisplayNameAttribute("			Symbol model")
CategoryAttribute("		Data")
DescriptionAttribute("QR symbol model")
DefaultValueAttribute()
 get_QRSymbolModel();
set_QRSymbolModel(value);
[DisplayNameAttribute("			Symbol model")]
[CategoryAttribute("		Data")]
[DescriptionAttribute("QR symbol model")]
[DefaultValueAttribute()]
public:
property QRBarcodeSymbolModel QRSymbolModel {
   QRBarcodeSymbolModel get();
   void set (    QRBarcodeSymbolModel value);
}

Property Value

A QRBarcodeSymbolModel enumeration member that specifies the QR barcode symbol model and version. Default value is QRBarcodeSymbolModel.Model2AutoSize.
Remarks

The QRSymbolModel of a QR barcode controls how much data the barcode can hold.

The QR standard specifies 40 different sizes for the QR barcode. The maximum data capacity varies, depending on the size of the barcode and its Error Correction level.

Generally, you should only be concerned with the value of this property when writing barcodes, since LEADTOOLS will automatically find the correct symbol and data size from the barcode itself and populate this property and the data with the correct value. Refer to QR Barcodes in LEADTOOLS for QR barcodes and how QRBarcodeSymbolModel affects the data size.

In addition to the above, the following symbol sizes can be used when writing a QR barcode:

Symbol Model Description
Model 1 Auto size (QRBarcodeSymbolModel.Model1AutoSize)

Use model 1 and the minimum required size based on the data inside the barcode (the data set using BarcodeData.SetData)

Model 2 Auto size (QRBarcodeSymbolModel.Model2AutoSize)

Use model 2 and the minimum required size based on the data inside the barcode (the data set using BarcodeData.SetData)

Use the above special QR barcode symbol sizes when writing a barcode, when reading the QR barcode back, QRSymbolModel will be set to one of the other constant values.

Example

For an example, refer to QRBarcodeData.

Requirements

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

See Also

Reference

BarcodeData Class
BarcodeData Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Barcode requires a Barcode Module license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features