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

SymbolSize Property (DatamatrixBarcodeData)








Gets or sets the Datamatrix barcode symbol size. .NET support Silverlight support
Syntax
[DefaultValueAttribute()]
[DisplayNameAttribute("			Symbol size")]
[DescriptionAttribute("Datamatrix symbol size")]
[CategoryAttribute("		Data")]
public DatamatrixBarcodeSymbolSize SymbolSize {get; set;}
'Declaration
 
<DefaultValueAttribute()>
<DisplayNameAttribute("			Symbol size")>
<DescriptionAttribute("Datamatrix symbol size")>
<CategoryAttribute("		Data")>
Public Property SymbolSize As DatamatrixBarcodeSymbolSize
'Usage
 
Dim instance As DatamatrixBarcodeData
Dim value As DatamatrixBarcodeSymbolSize
 
instance.SymbolSize = value
 
value = instance.SymbolSize
[DefaultValueAttribute()]
[DisplayNameAttribute("			Symbol size")]
[DescriptionAttribute("Datamatrix symbol size")]
[CategoryAttribute("		Data")]
public DatamatrixBarcodeSymbolSize SymbolSize {get; set;}
ObjectiveC Syntax
Java Syntax
DefaultValueAttribute()
DisplayNameAttribute("			Symbol size")
DescriptionAttribute("Datamatrix symbol size")
CategoryAttribute("		Data")
 get_SymbolSize();
set_SymbolSize(value);
[DefaultValueAttribute()]
[DisplayNameAttribute("			Symbol size")]
[DescriptionAttribute("Datamatrix symbol size")]
[CategoryAttribute("		Data")]
public:
property DatamatrixBarcodeSymbolSize SymbolSize {
   DatamatrixBarcodeSymbolSize get();
   void set (    DatamatrixBarcodeSymbolSize value);
}

Property Value

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

The SymbolSize 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, SymbolSize will be set to one of the other constant values.

Example

For an example, refer to DatamatrixBarcodeData.

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

DatamatrixBarcodeData Class
DatamatrixBarcodeData 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