public final class PDF417 extends Object
Modifier and Type | Method and Description |
---|---|
void |
generateBarcodeLogic(String msg,
int errorCorrectionLevel) |
void |
generateBarcodeLogic(String msg,
int errorCorrectionLevel,
boolean autoECI) |
BarcodeMatrix |
getBarcodeMatrix() |
void |
setCompact(boolean compact) |
void |
setCompaction(Compaction compaction) |
void |
setDimensions(int maxCols,
int minCols,
int maxRows,
int minRows)
Sets max/min row/col values
|
void |
setEncoding(Charset encoding) |
public BarcodeMatrix getBarcodeMatrix()
public void generateBarcodeLogic(String msg, int errorCorrectionLevel) throws WriterException
msg
- message to encodeerrorCorrectionLevel
- PDF417 error correction level to useWriterException
- if the contents cannot be encoded in this formatpublic void generateBarcodeLogic(String msg, int errorCorrectionLevel, boolean autoECI) throws WriterException
msg
- message to encodeerrorCorrectionLevel
- PDF417 error correction level to useautoECI
- automatically insert ECIs if neededWriterException
- if the contents cannot be encoded in this formatpublic void setDimensions(int maxCols, int minCols, int maxRows, int minRows)
maxCols
- maximum allowed columnsminCols
- minimum allowed columnsmaxRows
- maximum allowed rowsminRows
- minimum allowed rowspublic void setCompaction(Compaction compaction)
compaction
- compaction mode to usepublic void setCompact(boolean compact)
compact
- if true, enables compactionpublic void setEncoding(Charset encoding)
encoding
- sets character encoding to useCopyright © 2007–2024. All rights reserved.