MatchBarcodeBP
Searches all the barcodes on the current page and checks if one of them matches the value that you entered as a parameter.
Member of namespace
Barcode_PSyntax
bool MatchBarcodeBP(StrParam)
Parameters
The String value of the barcode. Smart parameters are supported.Returns
True if the action is called at the page level or field level and one of the barcode values on the page matches the parameter value. The parameter value must not be empty. Otherwise, False.In addition the calling object's value and variable GetBarCode is filled with the bar code value. This action also stores barcode information such as confidence, coordinates, code name, and size. If the object's barcode settings are set to read more than one barcode, and more than one barcode is found, barcodes are also stored in the variable GetBarCodeX where X is the index of the barcode found.
Level
Page level and field level.Details
Recognizes and evaluates all the barcodes on the current page or current field and checks if one of the barcodes matches the parameter value. If running at field level and the field does not have a zone defined, then recognition will run for the whole page. If a match occurs, the barcode's value is placed into a page level variable called 'GetBarCode'. If running at the field level, the matched value is also stored in the text property. Refer to action GetBarcodeBP for information regarding barcode configuration in Datacap Studio.- Example:
MatchBarcodeBP("2008")