GetPDF2DBarcode
Recognizes PDF-417 codes.
Syntax
bool GetPDF2DBarcode()
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" will be 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 if more than one barcode is found, then the barcodes are also stored in the variable "GetBarCodeX" where "X" is the index of the barcode found.
Level
Page and field level.Details
Use this action if your page has PDF-417 codes. This action is very similar to the GetBarcode action. The difference is that the barcode type for PDF-417 barcodes is set automatically. It is not necessary to set the barcode type. If the barcode type is set, it will be ignored.
When the barcode is read, the following variables are created on the current DCO object:
GetBarCode: The recognized value of the barcode.
CodeName: The barcode type.
Confidence: The barcode confidence.
Height: The height of the barcode in pixels.
Width: The width of the barcode in pixels.
Left: The left coordinate of the barcode in pixels.
Top: The top coordinate of the barcode in pixels.
Position: Four separated values which are the coordinates of the barcode in pixels: left, top, right, bottom.
If called on a field object, the barcode value is also stored in the field's text property.
If the barcode data contains nulls, it is possible to enable byte mode. Refer to the top-level help for this action library for more information.
GetPDF2DBarcode()This example reads a PDF-417 barcode on the page.rrSet("1","@X.BarcodeUseByte")
rrSet("~","@X.BarcodeReplacementChar")
GetPDF2DBarcode()This
example reads a PDF-417 barcode in byte mode and changes the default null replacement character with
a tilde.