public interface CodeQRUtil extends BarcodeUtil
Modifier and Type | Method and Description |
---|---|
void |
setErrorCorrectionLevel(com.google.zxing.qrcode.decoder.ErrorCorrectionLevel level)
Sets the error correction level.
|
void |
setVersion(int version)
Sets the version of the QR code to be encoded.
|
drawBarcode, getFont, getMargin, getTextSize, setCharacterSet, setFont, setMargin, setMessagePosition, setTextSize
void setErrorCorrectionLevel(com.google.zxing.qrcode.decoder.ErrorCorrectionLevel level)
level
- The error correction level.void setVersion(int version) throws IllegalArgumentException
version
- The QR code version (0-8).IllegalArgumentException
- If the specified version
is not valid.
© 2017 ZIH Corp. All Rights Reserved.