←Select platform

DatamatrixSymbolSize Property

Summary

Gets or sets the Datamatrix barcode symbol size.

Syntax

C#
VB
WinRT C#
C++
[DescriptionAttribute("Datamatrix symbol size")] 
[CategoryAttribute("        Data")] 
[DisplayNameAttribute("         Symbol size")] 
[DefaultValueAttribute()] 
public Leadtools.Barcode.DatamatrixBarcodeSymbolSize DatamatrixSymbolSize {get; set;} 
<DescriptionAttribute("Datamatrix symbol size")> 
<CategoryAttribute("     Data")> 
<DisplayNameAttribute("          Symbol size")> 
<DefaultValueAttribute()> 
Public Property DatamatrixSymbolSize As Leadtools.Barcode.DatamatrixBarcodeSymbolSize 
[DescriptionAttribute("Datamatrix symbol size")] 
[CategoryAttribute("        Data")] 
[DisplayNameAttribute("         Symbol size")] 
[DefaultValueAttribute()] 
public Leadtools.Barcode.DatamatrixBarcodeSymbolSize DatamatrixSymbolSize {get; set;} 
DescriptionAttribute("Datamatrix symbol size") 
CategoryAttribute("     Data") 
DisplayNameAttribute("          Symbol size") 
DefaultValueAttribute() 
  
get_DatamatrixSymbolSize(); 
set_DatamatrixSymbolSize(value); 
Object.defineProperty('DatamatrixSymbolSize');  
[DescriptionAttribute("Datamatrix symbol size")] 
[CategoryAttribute("        Data")] 
[DisplayNameAttribute("         Symbol size")] 
[DefaultValueAttribute()] 
public: 
property Leadtools.Barcode.DatamatrixBarcodeSymbolSize DatamatrixSymbolSize { 
   Leadtools.Barcode.DatamatrixBarcodeSymbolSize get(); 
   void set (    Leadtools.Barcode.DatamatrixBarcodeSymbolSize ); 
} 

Property Value

An DatamatrixBarcodeSymbolSize enumeration member that specifies the Datamatrix barcode symbol size. The default value is DatamatrixBarcodeSymbolSize.AutoSize.

Remarks

The DatamatrixSymbolSize of a Datamatrix barcode controls how much data the barcode can hold. Generally, you should only be concerned with the value of this property when writing barcodes. 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 Datamatrix Barcodes in LEADTOOLS for more information.

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

Symbol size Description
Auto size (DatamatrixBarcodeSymbolSize.AutoSize)

Uses the minimum required size based on the data inside the barcode (the data set using BarcodeData.SetData)

Fit to bounds (DatamatrixBarcodeSymbolSize.FitToBounds)

Uses as much size to fit the data inside BarcodeData.Bounds.

You can only use the above special Datamatrix barcode symbol sizes when writing a barcode, when reading the Datamatrix barcode back, DatamatrixSymbolSize will be set to one of the other constant values.

Example

For an example, refer to DatamatrixBarcodeData.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Barcode Assembly
Click or drag to resize