PDF417 Script Methods
The following script methods are specific to this barcode symbology. Additionally, you can use the Common Script Methods for Barcodes.
Tip: If using these script methods in a business rule, select the Rhino script engine.
Tip: Script methods with names beginning with get or is retrieve the current value for a property. Script methods with names beginning with set configure a value for the property.
Tip: If the amount of data in a barcode exceeds the usable space, adjust the Columns, the Security Level, or both.
Methods | Description | Values |
---|---|---|
getXdim() setXdim(float) |
The X-dimension or height and width of one cell (module) in the barcode. The range of values available depends on the Document DPI of the label template. For example, a label template with a Document DPI of 203 has Line X-Dim values in increments of 4.9 mil (1000 mil / 203 dpi). |
Thousandths of an inch (mil) |
getYdim() setYdim(float) |
The height of the barcode cell (module). The range of values available varies with the Document DPI of the label template. |
Thousandths of an inch (mil) |
getxToYRatio() setxToYRatio(double) |
The ratio of Line Y-Dim to Line X-Dim. | |
getColumns() setColumns(int) |
The number of columns in the symbol. Each column consists of multiple modules. |
|
getSecurity() setSecurity(int) |
The amount of destruction the symbol can withstand. A greater number increases the amount of destruction the symbol can withstand, while also increasing the size of the symbol. |
0-8 |
isTruncate() setTruncate(boolean) |
Whether to truncate the barcode symbol. A truncated PDF symbol occupies a smaller printed area than a standard symbol; however, there is a slight degradation in decode performance. |
No/Yes |
Additional Methods
The following methods do not have corresponding controls for barcode objects in the Loftware Enterprise SP user interface.
Methods | Description | Values |
---|---|---|
getRows() setRows(int) |
The number of rows in the symbol. |
|
getCellHeight() setCellHeight(int) |
The height of the barcode cell (module). The range of values available varies with the Document DPI of the label template. |
|
getCellWidth() setCellWidth(int) |
The X-dimension or height and width of one cell (module) in the barcode. The range of values available depends on the Document DPI of the label template. For example, a label template with a Document DPI of 203 has Line X-Dim values in increments of 4.9 mil (1000 mil / 203 dpi). |