Class QrParameters
- java.lang.Object
-
- com.aspose.barcode.generation.QrParameters
-
public class QrParameters extends java.lang.Object
QR parameters.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getAspectRatio()
Height/Width ratio of 2D BarCode module.java.nio.charset.Charset
getCodeTextEncoding()
Gets the encoding of codetext.int
getQrECIEncoding()
Extended Channel Interpretation Identifiers.QREncodeMode
getQrEncodeMode()
QR symbology type of BarCode's encoding mode.QREncodeType
getQrEncodeType()
QR / MicroQR selector mode.QRErrorLevel
getQrErrorLevel()
Level of Reed-Solomon error correction for QR barcode.QRVersion
getQrVersion()
Version of QR 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)
Sets the encoding of codetext.void
setQrECIEncoding(int value)
Extended Channel Interpretation Identifiers.void
setQrEncodeMode(QREncodeMode value)
QR symbology type of BarCode's encoding mode.void
setQrEncodeType(QREncodeType value)
QR / MicroQR selector mode.void
setQrErrorLevel(QRErrorLevel value)
Level of Reed-Solomon error correction for QR barcode.void
setQrVersion(QRVersion value)
Version of QR Code.void
setStructuredAppend(QrStructuredAppendParameters value)
QR structured append parameters.java.lang.String
toString()
Returns a human-readable string representation of thisQrParameters
.
-
-
-
Method Detail
-
getQrECIEncoding
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.
-
setQrECIEncoding
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.
-
getQrEncodeMode
public QREncodeMode getQrEncodeMode()
QR symbology type of BarCode's encoding mode. Default value: QREncodeMode.AUTO.
-
setQrEncodeMode
public void setQrEncodeMode(QREncodeMode value)
QR symbology type of BarCode's encoding mode. Default value: QREncodeMode.AUTO.
-
getQrEncodeType
public QREncodeType getQrEncodeType()
QR / MicroQR selector mode. Select ForceQR for standard QR symbols, Auto for MicroQR.
-
setQrEncodeType
public void setQrEncodeType(QREncodeType value)
QR / MicroQR selector mode. Select ForceQR for standard QR symbols, Auto for MicroQR.
-
getQrErrorLevel
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.
-
setQrErrorLevel
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.
-
getQrVersion
public QRVersion getQrVersion()
Version of QR Code. From Version1 to Version40 for QR code and from M1 to M4 for MicroQr. Default value is QRVersion.AUTO.
-
setQrVersion
public void setQrVersion(QRVersion value)
Version of QR Code. From Version1 to Version40 for QR code and from M1 to M4 for MicroQr. Default value is QRVersion.AUTO.
-
getAspectRatio
public float getAspectRatio()
Height/Width ratio of 2D BarCode module.
-
setAspectRatio
public void setAspectRatio(float value)
Height/Width ratio of 2D BarCode module.
-
getCodeTextEncoding
public java.nio.charset.Charset getCodeTextEncoding()
Gets the encoding of codetext. Default value: UTF-8
-
setCodeTextEncoding
public void setCodeTextEncoding(java.nio.charset.Charset value)
Sets the encoding of codetext. Default value: UTF-8
-
getStructuredAppend
public QrStructuredAppendParameters getStructuredAppend()
QR structured append parameters.
-
setStructuredAppend
public void setStructuredAppend(QrStructuredAppendParameters value)
QR structured append parameters.
-
toString
public java.lang.String toString()
Returns a human-readable string representation of this
QrParameters
.- Overrides:
toString
in classjava.lang.Object
- Returns:
- A string that represents this
QrParameters
.
-
-