| Herd Software Development
DaVinci Graphics Library
DaVinci Documentation Home Search Order

OnBarCodeDetected event


TBarCodeDetectedEvent = procedure(
              Sender: TObject;
              BarCode: String;
              dwBarCodeType: LongInt
              ) of object;
property OnBarCodeDetected: TBarCodeDetectedEvent;


The OnBarCodeDetected event occurs when a barcode is recognized while scanning the image with DetectBarCode. The application can perform application specific checksum comparisons and test the dwBarCodeType parameter to see if the type if the detected barcode meets the requirements.

See also:

DIBDetectBarCode function (Leonardo)