public class QrParameters
extends java.lang.Object
QR parameters.
Modifier and Type | Method and Description |
---|---|
float |
getAspectRatio()
Height/Width ratio of 2D BarCode module.
|
java.nio.charset.Charset |
getCodeTextEncoding()
Deprecated.
"This property is obsolete and will be removed in future releases. Unicode symbols detection and encoding will be processed in Auto mode with Extended Channel Interpretation charset designator. Using of own encodings requires manual CodeText encoding into byte[] array."
|
MicroQRVersion |
getMicroQRVersion()
Version of MicroQR Code.
|
int |
getQrECIEncoding()
Extended Channel Interpretation Identifiers.
|
QREncodeMode |
getQrEncodeMode()
QR symbology type of BarCode's encoding mode.
|
QREncodeType |
getQrEncodeType()
Deprecated.
This property is obsolete and will be removed in future releases. It is recommended to use separate MicroQR barcode type
|
QRErrorLevel |
getQrErrorLevel()
Level of Reed-Solomon error correction for QR barcode.
|
QRVersion |
getQrVersion()
Version of QR Code.
|
RectMicroQRVersion |
getRectMicroQrVersion()
Version of RectMicroQR Code.
|
QrStructuredAppendParameters |
getStructuredAppend()
QR structured append parameters.
|
void |
setAspectRatio(float value)
Height/Width ratio of 2D BarCode module.
|
void |
setCodeTextEncoding(java.nio.charset.Charset value)
Deprecated.
"This property is obsolete and will be removed in future releases. Unicode symbols detection and encoding will be processed in Auto mode with Extended Channel Interpretation charset designator. Using of own encodings requires manual CodeText encoding into byte[] array."
|
void |
setMicroQRVersion(MicroQRVersion value)
Version of MicroQR Code.
|
void |
setQrECIEncoding(int value)
Extended Channel Interpretation Identifiers.
|
void |
setQrEncodeMode(QREncodeMode value)
QR symbology type of BarCode's encoding mode.
|
void |
setQrEncodeType(QREncodeType value)
Deprecated.
This property is obsolete and will be removed in future releases. It is recommended to use separate MicroQR barcode type
|
void |
setQrErrorLevel(QRErrorLevel value)
Level of Reed-Solomon error correction for QR barcode.
|
void |
setQrVersion(QRVersion value)
Version of QR Code.
|
void |
setRectMicroQrVersion(RectMicroQRVersion value)
Version of RectMicroQR Code.
|
void |
setStructuredAppend(QrStructuredAppendParameters value)
QR structured append parameters.
|
java.lang.String |
toString()
Returns a human-readable string representation of this
QrParameters . |
public int getQrECIEncoding()
Extended Channel Interpretation Identifiers. It is used to tell the barcode reader details about the used references for encoding the data in the symbol. Current implementation consists all well known charset encodings.
public void setQrECIEncoding(int value)
Extended Channel Interpretation Identifiers. It is used to tell the barcode reader details about the used references for encoding the data in the symbol. Current implementation consists all well known charset encodings.
public QREncodeMode getQrEncodeMode()
QR symbology type of BarCode's encoding mode. Default value: QREncodeMode.AUTO.
public void setQrEncodeMode(QREncodeMode value)
QR symbology type of BarCode's encoding mode. Default value: QREncodeMode.AUTO.
@Deprecated public QREncodeType getQrEncodeType()
QR / MicroQR selector mode. Select ForceQR for standard QR symbols, Auto for MicroQR.
public void setQrEncodeType(QREncodeType value)
QR / MicroQR selector mode. Select ForceQR for standard QR symbols, Auto for MicroQR.
public QRErrorLevel getQrErrorLevel()
Level of Reed-Solomon error correction for QR barcode. From low to high: LEVEL_L, LEVEL_M, LEVEL_Q, LEVEL_H. see QRErrorLevel.
public void setQrErrorLevel(QRErrorLevel value)
Level of Reed-Solomon error correction for QR barcode. From low to high: LEVEL_L, LEVEL_M, LEVEL_Q, LEVEL_H. see QRErrorLevel.
public QRVersion getQrVersion()
Version of QR Code. From Version1 to Version40. Default value is QRVersion.AUTO.
public void setQrVersion(QRVersion value)
Version of QR Code. From Version1 to Version40. Default value is QRVersion.AUTO.
public MicroQRVersion getMicroQRVersion()
Version of MicroQR Code. From version M1 to version M4. Default value is MicroQRVersion.Auto.
public void setMicroQRVersion(MicroQRVersion value)
Version of MicroQR Code. From version M1 to version M4. Default value is MicroQRVersion.Auto.
public RectMicroQRVersion getRectMicroQrVersion()
Version of RectMicroQR Code. From version R7x59 to version R17x139. Default value is RectMicroQRVersion.Auto.
public void setRectMicroQrVersion(RectMicroQRVersion value)
Version of RectMicroQR Code. From version R7x59 to version R17x139. Default value is RectMicroQRVersion.Auto.
public float getAspectRatio()
Height/Width ratio of 2D BarCode module.
public void setAspectRatio(float value)
Height/Width ratio of 2D BarCode module.
@Deprecated public java.nio.charset.Charset getCodeTextEncoding()
Gets the encoding of codetext. Default value: UTF-8
@Deprecated public void setCodeTextEncoding(java.nio.charset.Charset value)
Sets the encoding of codetext. Default value: UTF-8
public QrStructuredAppendParameters getStructuredAppend()
public void setStructuredAppend(QrStructuredAppendParameters value)
public java.lang.String toString()
Returns a human-readable string representation of this QrParameters
.
toString
in class java.lang.Object
QrParameters
.