Class QrParameters

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

public class QrParameters extends Object

QR parameters.

  • 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 public final int getQrECIEncoding()
      Deprecated.
      Use ECIEncoding instead

      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.

    • getEncodeMode

      public final QREncodeMode getEncodeMode()

      QR symbology type of BarCode's encoding mode. Default value: QREncodeMode.Auto.

    • setEncodeMode

      public final void setEncodeMode(QREncodeMode value)

      QR symbology type of BarCode's encoding mode. Default value: QREncodeMode.Auto.

    • getQrEncodeMode

      @Deprecated public final QREncodeMode getQrEncodeMode()
      Deprecated.
      Use EncodeMode instead

      QR symbology type of BarCode's encoding mode. Default value: QREncodeMode.Auto.

    • getQrEncodeType

      @Deprecated public final QREncodeType 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 public final 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.

      QR / MicroQR selector mode. Select ForceQR for standard QR symbols, Auto for MicroQR.

    • getErrorLevel

      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.

    • setErrorLevel

      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.

    • getQrErrorLevel

      @Deprecated public final QRErrorLevel getQrErrorLevel()
      Deprecated.
      Use ErrorLevel instead

      Level of Reed-Solomon error correction for QR, MicroQR and RectMicroQR barcode. From low to high: LevelL, LevelM, LevelQ, LevelH. See QRErrorLevel.

    • getVersion

      public final QRVersion getVersion()

      Version of QR Code.From Version1 to Version40. Default value is QRVersion.Auto.

    • setVersion

      public final void setVersion(QRVersion value)

      Version of QR Code.From Version1 to Version40. Default value is QRVersion.Auto.

    • getQrVersion

      @Deprecated public final QRVersion getQrVersion()
      Deprecated.
      Use Version instead

      Version of QR Code.From Version1 to Version40. Default value is QRVersion.Auto.

    • getMicroQRVersion

      public final MicroQRVersion getMicroQRVersion()

      Version of MicroQR Code. From version M1 to version M4. Default value is MicroQRVersion.Auto.

    • setMicroQRVersion

      public final void setMicroQRVersion(MicroQRVersion value)

      Version of MicroQR Code. From version M1 to version M4. Default value is MicroQRVersion.Auto.

    • getRectMicroQrVersion

      public final RectMicroQRVersion getRectMicroQrVersion()

      Version of RectMicroQR Code. From version R7x59 to version R17x139. Default value is RectMicroQRVersion.Auto.

    • setRectMicroQrVersion

      public final void setRectMicroQrVersion(RectMicroQRVersion value)

      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

      public final QrStructuredAppendParameters getStructuredAppend()

      QR structured append parameters. Structured append mode is not suppported by MicroQR and RectMicroQR barcodes.

    • setStructuredAppend

      public final void setStructuredAppend(QrStructuredAppendParameters value)

      QR structured append parameters. Structured append mode is not suppported by MicroQR and RectMicroQR barcodes.

    • toString

      public String toString()

      Returns a human-readable string representation of this QrParameters.

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