Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.22
|
Leadtools.Barcode Namespace > QRBarcodeData Class : SymbolModel Property |
[DisplayNameAttribute(" Symbol model")] [DescriptionAttribute("QR symbol model")] [CategoryAttribute(" Data")] [DefaultValueAttribute()] public QRBarcodeSymbolModel SymbolModel {get; set;}
'Declaration
<DisplayNameAttribute(" Symbol model")> <DescriptionAttribute("QR symbol model")> <CategoryAttribute(" Data")> <DefaultValueAttribute()> Public Property SymbolModel As QRBarcodeSymbolModel
'Usage
Dim instance As QRBarcodeData Dim value As QRBarcodeSymbolModel instance.SymbolModel = value value = instance.SymbolModel
[DisplayNameAttribute(" Symbol model")] [DescriptionAttribute("QR symbol model")] [CategoryAttribute(" Data")] [DefaultValueAttribute()] public QRBarcodeSymbolModel SymbolModel {get; set;}
@property (nonatomic, assign) LTQRBarcodeSymbolModel symbolModel
public QRBarcodeSymbolModel getSymbolModel() public void setSymbolModel(QRBarcodeSymbolModel value)
DisplayNameAttribute(" Symbol model") DescriptionAttribute("QR symbol model") CategoryAttribute(" Data") DefaultValueAttribute() <br/>get_SymbolModel();<br/>set_SymbolModel(value);<br/>Object.defineProperty('SymbolModel');
[DisplayNameAttribute(" Symbol model")] [DescriptionAttribute("QR symbol model")] [CategoryAttribute(" Data")] [DefaultValueAttribute()] public: property QRBarcodeSymbolModel SymbolModel { QRBarcodeSymbolModel get(); void set ( QRBarcodeSymbolModel value); }
The SymbolModel 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, SymbolModel will be set to one of the other constant values.
For an example, refer to QRBarcodeData.