←Select platform

ReadBarcode(RasterImage,LeadRect,BarcodeSymbology) Method

Summary

For information about this method please see ReadBarcode.

Syntax

C#
VB
WinRT C#
C++
Public Overloads Function ReadBarcode( _ 
   ByVal image As Leadtools.RasterImage, _ 
   ByVal searchBounds As Leadtools.LeadRect, _ 
   ByVal symbology As Leadtools.Barcode.BarcodeSymbology _ 
) As Leadtools.Barcode.BarcodeData 
 function Leadtools.Barcode.BarcodeReader.ReadBarcode(RasterImage,LeadRect,BarcodeSymbology)(  
   image , 
   searchBounds , 
   symbology  
) 

Parameters

image
A RasterImage object that contains the image data. Must not be null.

searchBounds
A LeadRect that specifies the region of interest area in the image where the barcode search and detection is performed. You can specify empty rectangle to indicate that the search must be performed on the whole image.

symbology
A BarcodeSymbology enumeration member that specifies the barcode symbology (type) to search for. You can pass BarcodeSymbology.Unknown to search for all available symbologies in this BarcodeReader.

Return Value

An instance of BarcodeData or one of its derived classes that contains the symbology, data, location and any rotation angle of the barcode found. If no barcodes can be found, then this method will return null (Nothing in VB).

Remarks

Note: In LEADTOOLS for .NET, the equivalent to LeadRect is LogicalRectangle.

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