Class QrParameters
QR parameters.
-
Method Summary
Modifier and TypeMethodDescriptionfinal floatHeight/Width ratio of 2D BarCode module.final intExtended Channel Interpretation Identifiers.final QREncodeModeQR symbology type of BarCode's encoding mode.final QRErrorLevelLevel of Reed-Solomon error correction for QR, MicroQR and RectMicroQR barcode.final MicroQRVersionVersion of MicroQR Code.final intDeprecated.Use ECIEncoding insteadfinal QREncodeModeDeprecated.Use EncodeMode insteadfinal QREncodeTypeDeprecated.This property is obsolete and will be removed in future releases.final QRErrorLevelDeprecated.Use ErrorLevel insteadfinal QRVersionDeprecated.Use Version insteadfinal RectMicroQRVersionVersion of RectMicroQR Code.QR structured append parameters.final QRVersionVersion of QR Code.From Version1 to Version40.final voidsetAspectRatio(float value) Height/Width ratio of 2D BarCode module.final voidsetECIEncoding(int value) Extended Channel Interpretation Identifiers.final voidsetEncodeMode(QREncodeMode value) QR symbology type of BarCode's encoding mode.final voidsetErrorLevel(QRErrorLevel value) Level of Reed-Solomon error correction for QR, MicroQR and RectMicroQR barcode.final voidsetMicroQRVersion(MicroQRVersion value) Version of MicroQR Code.final voidsetQrEncodeType(QREncodeType value) Deprecated.This property is obsolete and will be removed in future releases.final voidVersion of RectMicroQR Code.final voidQR structured append parameters.final voidsetVersion(QRVersion value) Version of QR Code.From Version1 to Version40.toString()Returns a human-readable string representation of thisQrParameters.
-
Method Details
-
getECIEncoding
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.
-
setECIEncoding
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.
-
getQrECIEncoding
Deprecated.Use ECIEncoding insteadExtended 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.
-
getEncodeMode
QR symbology type of BarCode's encoding mode. Default value: QREncodeMode.Auto.
-
setEncodeMode
QR symbology type of BarCode's encoding mode. Default value: QREncodeMode.Auto.
-
getQrEncodeMode
Deprecated.Use EncodeMode insteadQR symbology type of BarCode's encoding mode. Default value: QREncodeMode.Auto.
-
getQrEncodeType
Deprecated.This property is obsolete and will be removed in future releases. It is recommended to use separate MicroQR barcode type.QR / MicroQR selector mode. Select ForceQR for standard QR symbols, Auto for MicroQR.
-
setQrEncodeType
Deprecated.This property is obsolete and will be removed in future releases. It is recommended to use separate MicroQR barcode type.QR / MicroQR selector mode. Select ForceQR for standard QR symbols, Auto for MicroQR.
-
getErrorLevel
Level of Reed-Solomon error correction for QR, MicroQR and RectMicroQR barcode. From low to high: LevelL, LevelM, LevelQ, LevelH. See QRErrorLevel.
-
setErrorLevel
Level of Reed-Solomon error correction for QR, MicroQR and RectMicroQR barcode. From low to high: LevelL, LevelM, LevelQ, LevelH. See QRErrorLevel.
-
getQrErrorLevel
Deprecated.Use ErrorLevel insteadLevel of Reed-Solomon error correction for QR, MicroQR and RectMicroQR barcode. From low to high: LevelL, LevelM, LevelQ, LevelH. See QRErrorLevel.
-
getVersion
Version of QR Code.From Version1 to Version40. Default value is QRVersion.Auto.
-
setVersion
Version of QR Code.From Version1 to Version40. Default value is QRVersion.Auto.
-
getQrVersion
Deprecated.Use Version insteadVersion of QR Code.From Version1 to Version40. Default value is QRVersion.Auto.
-
getMicroQRVersion
Version of MicroQR Code. From version M1 to version M4. Default value is MicroQRVersion.Auto.
-
setMicroQRVersion
Version of MicroQR Code. From version M1 to version M4. Default value is MicroQRVersion.Auto.
-
getRectMicroQrVersion
Version of RectMicroQR Code. From version R7x59 to version R17x139. Default value is RectMicroQRVersion.Auto.
-
setRectMicroQrVersion
Version of RectMicroQR Code. From version R7x59 to version R17x139. Default value is RectMicroQRVersion.Auto.
-
getAspectRatio
public final float getAspectRatio()Height/Width ratio of 2D BarCode module.
-
setAspectRatio
public final void setAspectRatio(float value) Height/Width ratio of 2D BarCode module.
-
getStructuredAppend
QR structured append parameters. Structured append mode is not suppported by MicroQR and RectMicroQR barcodes.
-
setStructuredAppend
QR structured append parameters. Structured append mode is not suppported by MicroQR and RectMicroQR barcodes.
-
toString
Returns a human-readable string representation of this
QrParameters.- Overrides:
toStringin classObject- Returns:
- A string that represents this
QrParameters.
-