ExtractBarcodes Method of the FRPage Object
This method finds and recognizes all barcode blocks on an image, no other blocks are processed.
Syntax
HRESULT ExtractBarcodes( IBarcodeParams* BarcodeParams, IObjectsExtractionParams* ExtractionParams );
Parameters
- BarcodeParams
- [in] The BarcodeParams object that stores parameters of barcode recognition. This parameter may be 0. In this case, the page is analyzed with default parameters (all barcode recognition parameters are set to default values), or, if a profile has been loaded, the parameters set by this profile are used.
- ExtractionParams
- [in] The ObjectsExtractionParams object that stores parameters of objects extraction. This parameter may be 0. In this case, the objects are extracted with default parameters, or, if a profile has been loaded, the parameters set by this profile are used.
Return values
If recognition is interrupted by the user, this method will return E_ABORT. It also returns the standard return codes of ABBYY FineReader Engine functions.
Remarks
- All existing blocks are deleted from the page.
- The method does not report any events to the listeners attached to the IConnectionPointContainer interface of the FRPage.
See also
7/3/2024 8:50:25 AM