Common Script Methods for Barcodes
The following methods are common to all barcode symbologies. For symbology-specific methods, see Script Methods for Barcodes.
Tip: If using these script methods in a business rule, select the Rhino script engine.
Barcode Field
Method |
Return value or type |
Description |
---|---|---|
getType() |
"barcode" |
Retrieve the type of field. |
getBarcodeFormatProxy() |
FieldFormat |
Retrieve the barcode field format. |
getFormatProxy() |
FieldFormat |
Retrieve the human readable field format. |
getMaxLength() |
int |
Retrieve the maximum number of characters. |
setMaxLength(int) |
Set the maximum number of characters. |
|
getNewStylePadding() |
String |
Retrieve the padding style. |
setNewStylePadding(string) |
Set the padding style to use. The following values are accepted:
|
|
getFormatType() |
code128Format code39Format code93Format azteccodeFormat dataMatrixFormat ean13Format ean8Format gs1CompositeFormat gs1Format interleaved2of5Format maxicodeFormat microPDF417Format pdf417Format postnetFormat qrcodeFormat upcaFormat upce6Format uspsIntelMailFormat |
Retrieve the type of barcode. |
Barcode Format
Method |
Return value or type |
Description |
---|---|---|
getSymbology() |
code39 extCode39 code93 extCode93 code128 dataMatrix ean13 ean8 gs1Composite (for GS1 DataBar Composite) gs1 (for GS1 DataBar) gs1DataMatrix interleaved2of5 maxicode itf14 micropdf417 pdf417 postnet qrcode gs1128Gen upca upce6 gs1128Composite upcaComposite ean8Composite ean13Composite uspsIntelMail azteccode |
Retrieve the type of barcode. |
isShowStartStop() |
boolean | Returns whether the Start/Stop character is to be displayed in the human readable text for the barcode. |
setShowStartStop(boolean) |
Sets whether the Start/Stop character is to be displayed in the human readable text for the barcode. |