Properties
Class Attribute | JavaBean | Applet & Servlet | Default Value | Comments |
---|---|---|---|---|
binaryCode | na | na | null | The data (as a byte array) to be encoded in the barcode |
(see class barCodeEncoder in the encoderDoc folder of the package) | FORMAT | JPEG | Determines the format of the image when using the servlet or saving a barcode image to a file. Valid values are GIF and JPEG. The GIF files generated are typically 4 to 20 times smaller in size than the JPEG files. | |
MacroPDFEnable | macroPDFEnable | na | FALSE | Determines if the barcode being created will be part of a MacroPDF barcode. |
MacroPDFFileID | macroPDFFileID | na | 0 | Sets the id 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 | macroPDFLastSegment | na | FALSE | Determines if this barcode in a sequence of MacroPDF barcodes is the final segment. |
MacroPDFSegmentIndex | macroPDFSegmentIndex | na | 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. |
PDFColumns | PDFColumns | COL | 5 | The number of columns in the symbol. Increasing this value creates a wider symbol that is less in height. Use this property to size the symbol. |
PDFECLevel | PDFErrorCorrection | ECL | 2 | The error correction level for PDF417. The range is from 0 to 8. |
PDFMode | PDFMode | MODE | BINARY | In the applet and servlet, the PDF417 mode can be set to NUMERIC, TEXT or BINARY. In the class library and JavaBean, the PDF417 mode can be set to one of the following numbers; 0=BINARY, 1=TEXT or 2=NUMERIC. |
PDFRows | PDFRows | ROWS | 0 | The number of rows for PDF417. It is not recommended to set this number because the number of rows is automatically generated and an incorrect number can cause the symbol to be too large. Please set the PDF Columns instead to adjust the size. |
truncated | Truncated | TRN | FALSE | A setting of true will enable truncation. A truncated PDF417 symbol 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. |
XtoYRatio | XtoYRatio | XYR | 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. |