public class QrParameters
extends java.lang.Object
QR parameters.
| Modifier and Type | Method and Description |
|---|---|
float |
getAspectRatio()
Height/Width ratio of 2D BarCode module.
|
int |
getECIEncoding()
Extended Channel Interpretation Identifiers.
|
QREncodeMode |
getEncodeMode()
QR symbology type of BarCode's encoding mode.
|
QRErrorLevel |
getErrorLevel()
Level of Reed-Solomon error correction for QR, MicroQR and RectMicroQR barcode.
|
MicroQRVersion |
getMicroQRVersion()
Version of MicroQR Code.
|
int |
getQrECIEncoding()
Deprecated.
Use ECIEncoding instead
|
QREncodeMode |
getQrEncodeMode()
Deprecated.
Use EncodeMode instead
|
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()
Deprecated.
Use ErrorLevel instead
|
QRVersion |
getQrVersion()
Deprecated.
Use Version instead
|
RectMicroQRVersion |
getRectMicroQrVersion()
Version of RectMicroQR Code.
|
QrStructuredAppendParameters |
getStructuredAppend()
QR structured append parameters.
|
QRVersion |
getVersion()
Version of QR Code.From Version1 to Version40.
|
void |
setAspectRatio(float value)
Height/Width ratio of 2D BarCode module.
|
void |
setECIEncoding(int value)
Extended Channel Interpretation Identifiers.
|
void |
setEncodeMode(QREncodeMode value)
QR symbology type of BarCode's encoding mode.
|
void |
setErrorLevel(QRErrorLevel value)
Level of Reed-Solomon error correction for QR, MicroQR and RectMicroQR barcode.
|
void |
setMicroQRVersion(MicroQRVersion value)
Version of MicroQR Code.
|
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 |
setRectMicroQrVersion(RectMicroQRVersion value)
Version of RectMicroQR Code.
|
void |
setStructuredAppend(QrStructuredAppendParameters value)
QR structured append parameters.
|
void |
setVersion(QRVersion value)
Version of QR Code.From Version1 to Version40.
|
java.lang.String |
toString()
Returns a human-readable string representation of this
QrParameters. |
public final int getECIEncoding()
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. Not supported by MicroQR.
public final void setECIEncoding(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. Not supported by MicroQR.
@Deprecated public final 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. Not supported by MicroQR.
public final QREncodeMode getEncodeMode()
QR symbology type of BarCode's encoding mode. Default value: QREncodeMode.Auto.
public final void setEncodeMode(QREncodeMode value)
QR symbology type of BarCode's encoding mode. Default value: QREncodeMode.Auto.
@Deprecated public final QREncodeMode getQrEncodeMode()
QR symbology type of BarCode's encoding mode. Default value: QREncodeMode.Auto.
@Deprecated public final QREncodeType getQrEncodeType()
QR / MicroQR selector mode. Select ForceQR for standard QR symbols, Auto for MicroQR.
@Deprecated public final void setQrEncodeType(QREncodeType value)
QR / MicroQR selector mode. Select ForceQR for standard QR symbols, Auto for MicroQR.
public final QRErrorLevel getErrorLevel()
Level of Reed-Solomon error correction for QR, MicroQR and RectMicroQR barcode. From low to high: LevelL, LevelM, LevelQ, LevelH. See QRErrorLevel.
public final void setErrorLevel(QRErrorLevel value)
Level of Reed-Solomon error correction for QR, MicroQR and RectMicroQR barcode. From low to high: LevelL, LevelM, LevelQ, LevelH. See QRErrorLevel.
@Deprecated public final QRErrorLevel getQrErrorLevel()
Level of Reed-Solomon error correction for QR, MicroQR and RectMicroQR barcode. From low to high: LevelL, LevelM, LevelQ, LevelH. See QRErrorLevel.
public final QRVersion getVersion()
Version of QR Code.From Version1 to Version40. Default value is QRVersion.Auto.
public final void setVersion(QRVersion value)
Version of QR Code.From Version1 to Version40. Default value is QRVersion.Auto.
@Deprecated public final QRVersion getQrVersion()
Version of QR Code.From Version1 to Version40. Default value is QRVersion.Auto.
public final MicroQRVersion getMicroQRVersion()
Version of MicroQR Code. From version M1 to version M4. Default value is MicroQRVersion.Auto.
public final void setMicroQRVersion(MicroQRVersion value)
Version of MicroQR Code. From version M1 to version M4. Default value is MicroQRVersion.Auto.
public final RectMicroQRVersion getRectMicroQrVersion()
Version of RectMicroQR Code. From version R7x59 to version R17x139. Default value is RectMicroQRVersion.Auto.
public final void setRectMicroQrVersion(RectMicroQRVersion value)
Version of RectMicroQR Code. From version R7x59 to version R17x139. Default value is RectMicroQRVersion.Auto.
public final float getAspectRatio()
Height/Width ratio of 2D BarCode module.
public final void setAspectRatio(float value)
Height/Width ratio of 2D BarCode module.
public final QrStructuredAppendParameters getStructuredAppend()
QR structured append parameters. Structured append mode is not suppported by MicroQR and RectMicroQR barcodes.
public final void setStructuredAppend(QrStructuredAppendParameters value)
QR structured append parameters. Structured append mode is not suppported by MicroQR and RectMicroQR barcodes.
public java.lang.String toString()
Returns a human-readable string representation of this QrParameters.
toString in class java.lang.ObjectQrParameters.