Properties
Class Attribute | Applet & Servlet | Default Value | Comments |
---|---|---|---|
binaryCode | N/A | null | The binary data (as byte[]) to be encoded in the barcode |
macroPDFEnable | N/A | false | Determines if the barcode being created will be part of a MacroPDF barcode. |
macroPDFFileID | N/A | 0 | Sets the id (start from 0) of the barcode in a sequence of barcodes for MacroPDF. Each MacroPDF barcode in a sequence must have the same File ID so the reader can reassemble them correctly. |
macroPDFLastSegment | N/A | FALSE | Determines if this barcode in a sequence of MacroPDF barcodes is the final segment. |
macroPDFSegmentIndex | N/A | 0 | Sets the index number of this barcode in a sequence of MacroPDF barcodes. Each barcode in the sequence must have a unique segment index. Readers will reassemble the barcode in the order of the segment index. |
columnCount | COLUMN_COUNT | 5 | Number of columns. The value range is from 1 to 30. The default is 5. Increasing this value creates a wider symbol that is less in height. Use this property to size the barcode. |
errorCorrectionLevel | ECL | 2 | Error correction level. The value range is from 0 to 8. The default is 2. See Coefficient Table for Error Correction Levels |
dataMode | DATA_MODE | BINARY | In the applet and servlet, the mode can be set to "BINARY", "TEXT" or "NUMERIC" (in String). In the class library, the mode can be set to one of the following numbers: 0=BINARY, 1=TEXT or 2=NUMERIC. |
rowCount | ROW_COUNT | 0 | The number of rows for PDF417. If 0 (default), the number will be calculated automatically. It is not recommended to set this number because the number of rows is automatically calculated by engine and an incorrect number can cause the symbol to be too large. Please set the PDF417 Columns to adjust the size. |
truncated | TRUNCATED | FALSE | If true, truncated PDF417 code will be created; Default is false. A truncated PDF417 is more area efficient than normal PDF417. By selecting this option, the right hand side of the PDF417 is removed or truncated. This option should only be used in clean environments since it is less immune to damage. The servlet and applet converts "Y" to true and "N" to false. |
x2YRatio | X2Y | 3 | The X multiple height of individual cells. This is usually set between 3 and 5. A higher number creates an easier to read, taller symbol. |