Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.3
|
Leadtools.Documents Namespace > DocumentPage Class : ReadBarcodes Method |
public BarcodeData[] ReadBarcodes( LeadRectD bounds, int maximumBarcodes, BarcodeSymbology[] symbologies )
'Declaration
Public Function ReadBarcodes( _ ByVal bounds As LeadRectD, _ ByVal maximumBarcodes As Integer, _ ByVal symbologies() As BarcodeSymbology _ ) As BarcodeData()
'Usage
Dim instance As DocumentPage Dim bounds As LeadRectD Dim maximumBarcodes As Integer Dim symbologies() As BarcodeSymbology Dim value() As BarcodeData value = instance.ReadBarcodes(bounds, maximumBarcodes, symbologies)
public BarcodeData[] readBarcodes(LeadRectD bounds, int maximumBarcodes, BarcodeSymbology[] symbologies)
public: array<BarcodeData^>^ ReadBarcodes( LeadRectD bounds, int maximumBarcodes, array<BarcodeSymbology>^ symbologies )
Refer to BarcodeEngine, BarcodeReader and BarcodeReader.ReadBarcodes for more information on reading barcodes using LEADTOOLS.
This method uses the engine set in DocumentBarcodes.BarcodeEngine. If this value is null then no barcodes are read and this method will return an empty array.
This method calls GetImage and then BarcodeReader.ReadBarcodes to read the barcodes.
Since the search area and options used can differ greatly from one call to the another, the document will never save the barcodes found in the cache. Each call to ReadBarcodes will re-read all the barcodes from the page image.
For an example, refer to DocumentBarcodes.