QrParameters
QrParameters class
QR parameters.
new QrParameters()
Methods
| Name | Description |
|---|---|
| getAspectRatio() | Height/Width ratio of 2D BarCode module. |
| getECIEncoding() | Extended Channel Interpretation Identifiers. It is used to tell the barcode reader details about the used references for |
| getEncodeGS1SeparatorInByteMode() | Gets or sets a value indicating whether GS1 special characters should be encoded in Byte mode for QR and RectMicroQR bar |
| getEncodeMode() | QR symbology type of BarCode’s encoding mode. Default value: QREncodeMode.Auto. |
| getErrorLevel() | Level of Reed-Solomon error correction for QR, MicroQR and RectMicroQR barcode. From low to high: LevelL, LevelM, LevelQ |
| getMicroQRVersion() | Version of MicroQR Code. From version M1 to version M4. Default value is MicroQRVersion.Auto. |
| getQrECIEncoding() | Extended Channel Interpretation Identifiers. It is used to tell the barcode reader details about the used references for |
| getQrEncodeMode() | QR symbology type of BarCode’s encoding mode. Default value: QREncodeMode.AUTO. |
| getQrEncodeType() | QR / MicroQR selector mode. Select ForceQR for standard QR symbols, Auto for MicroQR. |
| getQrErrorLevel() | Level of Reed-Solomon error correction for QR barcode. From low to high: LEVEL_L, LEVEL_M, LEVEL_Q, LEVEL_H. see QRError |
| getQrVersion() | Version of QR Code. From Version1 to Version40 for QR code and from M1 to M4 for MicroQr. Default value is QRVersion.AUT |
| getRectMicroQrVersion() | Version of RectMicroQR Code. From version R7x59 to version R17x139. Default value is RectMicroQRVersion.Auto. |
| getStructuredAppend() | QR structured append parameters. |
| getVersion() | Version of QR Code.From Version1 to Version40. Default value is QRVersion.Auto. |
| setAspectRatio() | Height/Width ratio of 2D BarCode module. |
| setECIEncoding() | Extended Channel Interpretation Identifiers. It is used to tell the barcode reader details about the used references for |
| setEncodeGS1SeparatorInByteMode(value) | Gets or sets a value indicating whether GS1 special characters should be encoded in Byte mode for QR and RectMicroQR bar |
| setEncodeMode() | QR symbology type of BarCode’s encoding mode. Default value: QREncodeMode.Auto. |
| setErrorLevel() | Level of Reed-Solomon error correction for QR, MicroQR and RectMicroQR barcode. From low to high: LevelL, LevelM, LevelQ |
| setMicroQRVersion() | Version of MicroQR Code. From version M1 to version M4. Default value is MicroQRVersion.Auto. |
| setQrECIEncoding() | Extended Channel Interpretation Identifiers. It is used to tell the barcode reader details about the used references for |
| setQrEncodeMode() | QR symbology type of BarCode’s encoding mode. Default value: QREncodeMode.AUTO. |
| setQrEncodeType() | QR / MicroQR selector mode. Select ForceQR for standard QR symbols, Auto for MicroQR. |
| setQrErrorLevel() | Level of Reed-Solomon error correction for QR barcode. From low to high: LEVEL_L, LEVEL_M, LEVEL_Q, LEVEL_H. see QRError |
| setQrVersion() | Version of QR Code. From Version1 to Version40 for QR code and from M1 to M4 for MicroQr. Default value is QRVersion.AUT |
| setRectMicroQrVersion() | Version of RectMicroQR Code. From version R7x59 to version R17x139. Default value is RectMicroQRVersion.Auto. |
| setStructuredAppend() | QR structured append parameters. |
| setVersion() | Version of QR Code.From Version1 to Version40. Default value is QRVersion.Auto. |
| toString() | Returns a human-readable string representation of this QrParameters. |
getAspectRatio()
Height/Width ratio of 2D BarCode module.
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.
getEncodeGS1SeparatorInByteMode()
Gets or sets a value indicating whether GS1 special characters should be encoded in Byte mode for QR and RectMicroQR barcodes. If false, GS1 separators may be encoded as ‘%’ in Alphanumeric mode according to QR specification. If true, GS1 group separators are encoded in Byte mode as the 0x1D character, and ‘%’ characters are also encoded in Byte mode to preserve them as data. This option may improve compatibility with decoders that expect byte-level GS1 group separators and prevents ‘%’ data characters from being interpreted as GS1 separators.
Returns: a value indicating whether GS1 special characters should be encoded in Byte mode for QR and RectMicroQR barcodes.
getEncodeMode()
QR symbology type of BarCode’s encoding mode. Default value: QREncodeMode.Auto.
getErrorLevel()
Level of Reed-Solomon error correction for QR, MicroQR and RectMicroQR barcode. From low to high: LevelL, LevelM, LevelQ, LevelH. See QRErrorLevel.
getMicroQRVersion()
Version of MicroQR Code. From version M1 to version M4. Default value is MicroQRVersion.Auto.
getQrECIEncoding()
Deprecated. See method description for replacement.
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.
getQrEncodeMode()
QR symbology type of BarCode’s encoding mode. Default value: QREncodeMode.AUTO.
getQrEncodeType()
Deprecated. See method description for replacement.
QR / MicroQR selector mode. Select ForceQR for standard QR symbols, Auto for MicroQR.
getQrErrorLevel()
Deprecated. See method description for replacement.
Level of Reed-Solomon error correction for QR barcode. From low to high: LEVEL_L, LEVEL_M, LEVEL_Q, LEVEL_H. see QRErrorLevel.
getQrVersion()
Deprecated. See method description for replacement.
Version of QR Code. From Version1 to Version40 for QR code and from M1 to M4 for MicroQr. Default value is QRVersion.AUTO.
getRectMicroQrVersion()
Version of RectMicroQR Code. From version R7x59 to version R17x139. Default value is RectMicroQRVersion.Auto.
getStructuredAppend()
QR structured append parameters.
getVersion()
Version of QR Code.From Version1 to Version40. Default value is QRVersion.Auto.
setAspectRatio()
Height/Width ratio of 2D BarCode module.
setECIEncoding()
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.
setEncodeGS1SeparatorInByteMode(value)
Gets or sets a value indicating whether GS1 special characters should be encoded in Byte mode for QR and RectMicroQR barcodes. If false, GS1 separators may be encoded as ‘%’ in Alphanumeric mode according to QR specification. If true, GS1 group separators are encoded in Byte mode as the 0x1D character, and ‘%’ characters are also encoded in Byte mode to preserve them as data. This option may improve compatibility with decoders that expect byte-level GS1 group separators and prevents ‘%’ data characters from being interpreted as GS1 separators.
| Parameter | Description |
|---|---|
| value | a value indicating whether GS1 special characters should be encoded in Byte mode for QR and RectMicroQR barcodes. |
setEncodeMode()
QR symbology type of BarCode’s encoding mode. Default value: QREncodeMode.Auto.
setErrorLevel()
Level of Reed-Solomon error correction for QR, MicroQR and RectMicroQR barcode. From low to high: LevelL, LevelM, LevelQ, LevelH. See QRErrorLevel.
setMicroQRVersion()
Version of MicroQR Code. From version M1 to version M4. Default value is MicroQRVersion.Auto.
setQrECIEncoding()
Deprecated. See method description for replacement.
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.
setQrEncodeMode()
Deprecated. See method description for replacement.
QR symbology type of BarCode’s encoding mode. Default value: QREncodeMode.AUTO.
setQrEncodeType()
Deprecated. See method description for replacement.
QR / MicroQR selector mode. Select ForceQR for standard QR symbols, Auto for MicroQR.
setQrErrorLevel()
Deprecated. See method description for replacement.
Level of Reed-Solomon error correction for QR barcode. From low to high: LEVEL_L, LEVEL_M, LEVEL_Q, LEVEL_H. see QRErrorLevel.
setQrVersion()
Deprecated. See method description for replacement.
Version of QR Code. From Version1 to Version40 for QR code and from M1 to M4 for MicroQr. Default value is QRVersion.AUTO.
setRectMicroQrVersion()
Version of RectMicroQR Code. From version R7x59 to version R17x139. Default value is RectMicroQRVersion.Auto.
setStructuredAppend()
QR structured append parameters.
setVersion()
Version of QR Code.From Version1 to Version40. Default value is QRVersion.Auto.
toString()
Returns a human-readable string representation of this QrParameters.
Returns: A string that represents this QrParameters.