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

Symbology Property (BarcodeData)








Gets or sets the barcode symbology (type) associated with this BarcodeData. .NET support Silverlight support
Syntax
[BrowsableAttribute(false)]
public virtual BarcodeSymbology Symbology {get; set;}
'Declaration
 
<BrowsableAttribute(False)>
Public Overridable Property Symbology As BarcodeSymbology
'Usage
 
Dim instance As BarcodeData
Dim value As BarcodeSymbology
 
instance.Symbology = value
 
value = instance.Symbology
[BrowsableAttribute(false)]
public virtual BarcodeSymbology Symbology {get; set;}
ObjectiveC Syntax
Java Syntax
BrowsableAttribute()
 get_Symbology();
set_Symbology(value);
[BrowsableAttribute(false)]
public:
virtual property BarcodeSymbology Symbology {
   BarcodeSymbology get();
   void set (    BarcodeSymbology value);
}

Property Value

An BarcodeSymbology enumeration member that specifies the barcode symbology (type) associated with this BarcodeData. Default value is BarcodeSymbology.Unknown.
Remarks

Reading Barcodes

The BarcodeReader.ReadBarcode or BarcodeReader.ReadBarcodes methods are used to read a barcode or more from an image. Each of these methods return an object or an array of objects of type BarcodeData for each barcode found. Inside each object, the value of the Symbology property will be set by the BarcodeReader object to the symbology (or type) of the barcode. You can examine this value to decide how to parse the data of the barcode stored in GetData or Value.

The value of Symbology will never be BarcodeSymbology.Unknown on BarcodeData objects returned from BarcodeReader.ReadBarcode or BarcodeReader.ReadBarcodes.

For a tutorial, refer to Reading Barcodes Tutorial.

Writing Barcodes

The BarcodeWriter.WriteBarcode method is used to write a barcodes to an image. You must create an instance of BarcodeData and fill its members before passing it to this method. The Symbology property inform the BarcodeWriter object of the symbology (or type) of barcode to write.

You cannot set the value of Symbology to BarcodeSymbology.Unknown when writing barcodes, as it will result in an exception being thrown. The reason for the exception is due to the object BarcodeWriter will not know the symbology (or type) of barcode to write.

For a tutorial, refer to Writing Barcodes Tutorial.

Example

For an example, refer to BarcodeData For an example on writing barcodes, refer to BarcodeWriter.

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
Bounds Property
GetData Method
SetData Method
Value Property
BarcodeEngine Class
BarcodeReader Class
BarcodeWriter Class
BarcodeReader.ReadBarcode
BarcodeReader.ReadBarcodes
BarcodeWriter.WriteBarcode
Programming with LEADTOOLS Barcode
Supported Barcode Symbologies
Unlocking Barcode Support
Reading Barcodes Tutorial
Writing Barcodes Tutorial
UPC / EAN Barcodes in LEADTOOLS
2 of 5 Barcodes Barcodes in LEADTOOLS
GS1 DataBar / RSS-14 Barcodes in LEADTOOLS
Code 128 Barcodes in LEADTOOLS
USPS and 4-State Barcodes in LEADTOOLS
MSI Barcodes (Pulse Width Modulated) in LEADTOOLS
Codabar Barcodes in LEADTOOLS
Miscellaneous Barcodes in LEADTOOLS
Datamatrix Barcodes in LEADTOOLS
PDF417 and MicroPDF417 Barcodes in LEADTOOLS
MicroPDF417 Barcodes in LEADTOOLS
QR Barcodes in LEADTOOLS
Writing Barcodes - Bounds and XModule

 

 


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