| Constructor and Description |
|---|
QRCodeWriter() |
| Modifier and Type | Method and Description |
|---|---|
BitMatrix |
encode(java.lang.String contents,
BarcodeFormat format,
int width,
int height)
Encode a barcode using the default settings.
|
BitMatrix |
encode(java.lang.String contents,
BarcodeFormat format,
int width,
int height,
java.util.Hashtable hints) |
public BitMatrix encode(java.lang.String contents, BarcodeFormat format, int width, int height) throws WriterException
Writerencode in interface Writercontents - The contents to encode in the barcodeformat - The barcode format to generatewidth - The preferred width in pixelsheight - The preferred height in pixelsWriterExceptionpublic BitMatrix encode(java.lang.String contents, BarcodeFormat format, int width, int height, java.util.Hashtable hints) throws WriterException
encode in interface Writercontents - 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 encoderWriterExceptionCopyright 2017 ICEsoft Technologies Canada Corp., All Rights Reserved.