Get2DCodeBP

Recognizes PDF-417 codes.

Member of namespace

Barcode_P

Syntax

bool Get2DCodeBP()

Parameters

None.

Returns

True if the action is called at the page level or field level. 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 or Field level only.

Details

Use this action if your page has PDF-417 codes. The barcode type for PDF-417 barcodes is used automatically. It is not necessary to set the barcode type.

Any field must have a Position assigned when bar code reading is performed. For example the application would invoke the CreateFields action, and if the field has Position defined in the Document Hierarchy, it is ready for barcode reading. If anchors or fingerprint matching are used, ReadZones or other registration may be required to align the fields correctly.

If the barcode data contains nulls, it is possible to enable byte mode. For more information refer GetBarcodeBP.

Example 1:
Get2DCodeBP()

This example reads a PDF-417 barcode on the page.

Example 2:
rrSet("1","@X.BarcodeUseByte")
rrSet("~","@X.BarcodeReplacementChar")
Get2DCodeBP()
This example reads a PDF-417 barcode in byte mode and changes the default null replacement character with a tilde.