com.aspose.barcode.generation

Class QrParameters

  • java.lang.Object
    • com.aspose.barcode.generation.QrParameters


  • public class QrParameters
    extends java.lang.Object

    QR parameters.

    • 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

      • toString

        public java.lang.String toString()

        Returns a human-readable string representation of this QrParameters.

        Overrides:
        toString in class java.lang.Object
        Returns:
        A string that represents this QrParameters.