←Select platform

BarCodeReadPreprocessCallback Delegate

Summary

A callback method that is used to process deblurred images generated by BarCodeReadPreprocessCommand object.

Syntax

C#
VB
Java
Objective-C
C++
public delegate bool BarCodeReadPreprocessCallback( 
   RasterImage binarizedImage, 
   LeadRect barcodeZone 
) 
Public Delegate Function BarCodeReadPreprocessCallback( _ 
   ByVal binarizedImage As Leadtools.RasterImage, _ 
   ByVal barcodeZone As Leadtools.LeadRect _ 
) As Boolean 
typedef BOOL (^LTBarCodeReadPreprocessCallback)(LTRasterImage * null_unspecified binarizedImage, LeadRect barcodeZone) 
 
- (BOOL)run:(LTRasterImage *)image 
   progress:(nullable LTRasterCommandProgress)progressHandler 
 preprocess:(nullable LTBarCodeReadPreprocessCallback)preprocessCallback 
      error:(NSError **)error 
             
public void removePreprocessListener() 
public void setPreprocessListener(BarCodeReadPreprocessListener value) 
             
public delegate bool BarCodeReadPreprocessCallback(  
   Leadtools.RasterImage^ binarizedImage, 
   Leadtools.LeadRect barcodeZone 
) 

Parameters

binarizedImage
A RasterImage that represents the Barcode Read Preprocessed (Binarized) image.

barcodeZone
A LeadRect that represents the zone in the image where barcode data has been found.

Return Value

true to continue, false to abort.

Remarks

Barcode analyzer engine generates eight deblurring possibilities of the processed image. If barcode reader does not find barcode data, this callback should return a false value in order to get the next deblurred image, otherwise true value should be returned.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.Core Assembly