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

DetectBarCode method

Properties Methods Events Overview


function DetectBarCode: boolean;


Executes a scan of the current DIB for barcodes. When a section of the DIB is recognized as a valid barcode, an OnBarCodeDetected event is fired. This event contains specifications for the last-recognized bar code.

This method returns True if a bar code was recognized, False if no bar code was found.

Note: At present, this method can only scan DIB data for bar codes.

See also:

DIBDetectBarCode function (Leonardo)