public interface Writer
Modifier and Type | Method and Description |
---|---|
BitMatrix |
encode(String contents,
BarcodeFormat format,
int multiple)
Encode a barcode using the default settings.
|
BitMatrix |
encode(String contents,
BarcodeFormat format,
int multiple,
Hashtable hints) |
BitMatrix encode(String contents, BarcodeFormat format, int multiple) throws WriterException
contents
- The contents to encode in the barcodeformat
- The barcode format to generatewidth
- The preferred width in pixelsheight
- The preferred height in pixelsWriterException
BitMatrix encode(String contents, BarcodeFormat format, int multiple, Hashtable hints) throws WriterException
contents
- The contents to encode in the barcodeformat
- The barcode format to generatewidth
- The preferred width in pixelsheight
- The preferred height in pixelshints
- Additional parameters to supply to the encoderWriterException
Copyright © 2015. All Rights Reserved.