Enum Class MicroQRVersion

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

public enum MicroQRVersion extends Enum<MicroQRVersion>

Version of MicroQR Code. From M1 to M4.

  • Enum Constant Details

    • AUTO

      public static final MicroQRVersion AUTO

      Specifies to automatically pick up the best version for MicroQR. This is default value.

    • M1

      public static final MicroQRVersion M1

      Specifies version M1 for Micro QR with 11 x 11 modules.

    • M2

      public static final MicroQRVersion M2

      Specifies version M2 for Micro QR with 13 x 13 modules.

    • M3

      public static final MicroQRVersion M3

      Specifies version M3 for Micro QR with 15 x 15 modules.

    • M4

      public static final MicroQRVersion M4

      Specifies version M4 for Micro QR with 17 x 17 modules.

  • Method Details

    • values

      public static MicroQRVersion[] 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 MicroQRVersion 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()
    • fromValue

      public static MicroQRVersion fromValue(int value)