MicroPDF417 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.

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.  

getSymbolSize()

setSymbolSize(String)

The discreet size of the symbol expressed in number of columns by number of rows.

Note: This value limits Max Chars.

1-4 columns

rows vary depending on columns used.

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.

 

getColumns()

setColumns(int)

The number of columns 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).