ReadBarCodeBP (deprecated)

Tests to determine if the first barcode on the current page contains the value that is specified by the parameter. This action has been deprecated and is scheduled to be removed in a future release. It is recommended that you no longer use this action.

Member of namespace

Barcode_P

Syntax

bool ReadBarCodeBP(StrParam)

Parameters

A single string value of the barcode. Smart parameters are supported.

Returns

True if the first barcode on the page has a value that matches the parameter. Otherwise, False.

Level

Page level only.

Details

Checks if the current page contains a barcode with the value specified by the parameter. This action uses the first barcode it encounters. One possible use of this action is to identify a document's Separator page. Refer to action GetBarCode for information regarding barcode configuration in Datacap Studio.
Example:
ReadBarCodeBP("Separator")
SetPageType("Separator")    

This example looks for a barcode with the value "Separator". If found, the second action, a DCO action, establishes the page as a Separator page.