Enum Class QREncodeType

java.lang.Object
java.lang.Enum<QREncodeType>
com.aspose.barcode.generation.QREncodeType
All Implemented Interfaces:
Serializable, Comparable<QREncodeType>, Constable

public enum QREncodeType extends Enum<QREncodeType>

QR / MicroQR selector mode. Select FORCE_QR for standard QR symbols, AUTO for MicroQR. FORCE_MICRO_QR is used for strongly MicroQR symbol generation if it is possible.

  • Enum Constant Details

    • AUTO

      public static final QREncodeType AUTO

      Mode starts barcode version negotiation from MicroQR V1

    • FORCE_QR

      public static final QREncodeType FORCE_QR

      Mode starts barcode version negotiation from QR V1

    • FORCE_MICRO_QR

      public static final QREncodeType FORCE_MICRO_QR

      Mode starts barcode version negotiation from from MicroQR V1 to V4. If data cannot be encoded into MicroQR, exception is thrown.

  • Method Details

    • values

      public static QREncodeType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static QREncodeType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()