ReadBarCode (deprecated)
Tests to see if the first barcode on the current page contains the specified value.
Important: This action is deprecated and scheduled to be removed in a future release.
Use the ReadBarcodeBP action in the Barcode_P library. For more information, see
ReadBarCodeBP.
Member of namespace
Barcode_XSyntax
ReadBarCode (StrParam)
Parameters
A single string value of the barcode.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
ReadBarCode("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.