MaxiCode 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 |
---|---|---|
getCurrentSymbol() setCurrentSymbol(int) |
When used with the structured append format, the position of the symbol in a set. |
0-8 |
getMode() setMode(int) |
Modes 0 and 1 are part of the original MaxiCode specification and are now considered obsolete. Mode 2 is used for Domestic U.S. destinations. Mode 3 is used for non U.S. destinations. Mode 4 is free form data entry. Mode 5, if supported by the device, is used for free form data entry with Full Enhanced Error Correction. Mode 6 is used for reader programming only. |
0 1 2 3 4 5 6 |
getTotalSymbols() setTotalSymbols(int) |
When used with the structured append format, the total number of the symbols in a set. |
0-8 |
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. For more information, see the "Symbol Size" section following this table. |
|
getColumns() setColumns(int) |
The number of columns in the symbol. For more information, see the "Symbol Size" section following this table. |
|
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). |