com.aspose.barcode

Enum QRVersion

  • java.lang.Object
    • java.lang.Enum<QRVersion>
      • com.aspose.barcode.QRVersion
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<QRVersion>


    public enum QRVersion
    extends java.lang.Enum<QRVersion>

    Version of QR Code. From Version1 to Version40 for QR code and from M1 to M4 for MicroQr.

    • Enum Constant Summary

      Enum Constants 
      Enum Constant and Description
      AUTO
      Specifies to automatically pick up the best version for QR.
      VERSION_01
      Specifies version 1 with 21 x 21 modules.
      VERSION_02
      Specifies version 2 with 25 x 25 modules.
      VERSION_03
      Specifies version 3 with 29 x 29 modules.
      VERSION_04
      Specifies version 4 with 33 x 33 modules.
      VERSION_05
      Specifies version 5 with 37 x 37 modules.
      VERSION_06
      Specifies version 6 with 41 x 41 modules.
      VERSION_07
      Specifies version 7 with 45 x 45 modules.
      VERSION_08
      Specifies version 8 with 49 x 49 modules.
      VERSION_09
      Specifies version 9 with 53 x 53 modules.
      VERSION_10
      Specifies version 10 with 57 x 57 modules.
      VERSION_11
      Specifies version 11 with 61 x 61 modules.
      VERSION_12
      Specifies version 12 with 65 x 65 modules.
      VERSION_13
      Specifies version 13 with 69 x 69 modules.
      VERSION_14
      Specifies version 14 with 73 x 73 modules.
      VERSION_15
      Specifies version 15 with 77 x 77 modules.
      VERSION_16
      Specifies version 16 with 81 x 81 modules.
      VERSION_17
      Specifies version 17 with 85 x 85 modules.
      VERSION_18
      Specifies version 18 with 89 x 89 modules.
      VERSION_19
      Specifies version 19 with 93 x 93 modules.
      VERSION_20
      Specifies version 20 with 97 x 97 modules.
      VERSION_21
      Specifies version 21 with 101 x 101 modules.
      VERSION_22
      Specifies version 22 with 105 x 105 modules.
      VERSION_23
      Specifies version 23 with 109 x 109 modules.
      VERSION_24
      Specifies version 24 with 113 x 113 modules.
      VERSION_25
      Specifies version 25 with 117 x 117 modules.
      VERSION_26
      Specifies version 26 with 121 x 121 modules.
      VERSION_27
      Specifies version 27 with 125 x 125 modules.
      VERSION_28
      Specifies version 28 with 129 x 129 modules.
      VERSION_29
      Specifies version 29 with 133 x 133 modules.
      VERSION_30
      Specifies version 30 with 137 x 137 modules.
      VERSION_31
      Specifies version 31 with 141 x 141 modules.
      VERSION_32
      Specifies version 32 with 145 x 145 modules.
      VERSION_33
      Specifies version 33 with 149 x 149 modules.
      VERSION_34
      Specifies version 34 with 153 x 153 modules.
      VERSION_35
      Specifies version 35 with 157 x 157 modules.
      VERSION_36
      Specifies version 36 with 161 x 161 modules.
      VERSION_37
      Specifies version 37 with 165 x 165 modules.
      VERSION_38
      Specifies version 38 with 169 x 169 modules.
      VERSION_39
      Specifies version 39 with 173 x 173 modules.
      VERSION_40
      Specifies version 40 with 177 x 177 modules.
      VERSION_M1
      Specifies version M1 for Micro QR with 11 x 11 modules.
      VERSION_M2
      Specifies version M2 for Micro QR with 13 x 13 modules.
      VERSION_M3
      Specifies version M3 for Micro QR with 15 x 15 modules.
      VERSION_M4
      Specifies version M4 for Micro QR with 17 x 17 modules.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      int getValue() 
      static QRVersion valueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static QRVersion[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • AUTO

        public static final QRVersion AUTO

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

      • VERSION_01

        public static final QRVersion VERSION_01

        Specifies version 1 with 21 x 21 modules.

      • VERSION_02

        public static final QRVersion VERSION_02

        Specifies version 2 with 25 x 25 modules.

      • VERSION_03

        public static final QRVersion VERSION_03

        Specifies version 3 with 29 x 29 modules.

      • VERSION_04

        public static final QRVersion VERSION_04

        Specifies version 4 with 33 x 33 modules.

      • VERSION_05

        public static final QRVersion VERSION_05

        Specifies version 5 with 37 x 37 modules.

      • VERSION_06

        public static final QRVersion VERSION_06

        Specifies version 6 with 41 x 41 modules.

      • VERSION_07

        public static final QRVersion VERSION_07

        Specifies version 7 with 45 x 45 modules.

      • VERSION_08

        public static final QRVersion VERSION_08

        Specifies version 8 with 49 x 49 modules.

      • VERSION_09

        public static final QRVersion VERSION_09

        Specifies version 9 with 53 x 53 modules.

      • VERSION_10

        public static final QRVersion VERSION_10

        Specifies version 10 with 57 x 57 modules.

      • VERSION_11

        public static final QRVersion VERSION_11

        Specifies version 11 with 61 x 61 modules.

      • VERSION_12

        public static final QRVersion VERSION_12

        Specifies version 12 with 65 x 65 modules.

      • VERSION_13

        public static final QRVersion VERSION_13

        Specifies version 13 with 69 x 69 modules.

      • VERSION_14

        public static final QRVersion VERSION_14

        Specifies version 14 with 73 x 73 modules.

      • VERSION_15

        public static final QRVersion VERSION_15

        Specifies version 15 with 77 x 77 modules.

      • VERSION_16

        public static final QRVersion VERSION_16

        Specifies version 16 with 81 x 81 modules.

      • VERSION_17

        public static final QRVersion VERSION_17

        Specifies version 17 with 85 x 85 modules.

      • VERSION_18

        public static final QRVersion VERSION_18

        Specifies version 18 with 89 x 89 modules.

      • VERSION_19

        public static final QRVersion VERSION_19

        Specifies version 19 with 93 x 93 modules.

      • VERSION_20

        public static final QRVersion VERSION_20

        Specifies version 20 with 97 x 97 modules.

      • VERSION_21

        public static final QRVersion VERSION_21

        Specifies version 21 with 101 x 101 modules.

      • VERSION_22

        public static final QRVersion VERSION_22

        Specifies version 22 with 105 x 105 modules.

      • VERSION_23

        public static final QRVersion VERSION_23

        Specifies version 23 with 109 x 109 modules.

      • VERSION_24

        public static final QRVersion VERSION_24

        Specifies version 24 with 113 x 113 modules.

      • VERSION_25

        public static final QRVersion VERSION_25

        Specifies version 25 with 117 x 117 modules.

      • VERSION_26

        public static final QRVersion VERSION_26

        Specifies version 26 with 121 x 121 modules.

      • VERSION_27

        public static final QRVersion VERSION_27

        Specifies version 27 with 125 x 125 modules.

      • VERSION_28

        public static final QRVersion VERSION_28

        Specifies version 28 with 129 x 129 modules.

      • VERSION_29

        public static final QRVersion VERSION_29

        Specifies version 29 with 133 x 133 modules.

      • VERSION_30

        public static final QRVersion VERSION_30

        Specifies version 30 with 137 x 137 modules.

      • VERSION_31

        public static final QRVersion VERSION_31

        Specifies version 31 with 141 x 141 modules.

      • VERSION_32

        public static final QRVersion VERSION_32

        Specifies version 32 with 145 x 145 modules.

      • VERSION_33

        public static final QRVersion VERSION_33

        Specifies version 33 with 149 x 149 modules.

      • VERSION_34

        public static final QRVersion VERSION_34

        Specifies version 34 with 153 x 153 modules.

      • VERSION_35

        public static final QRVersion VERSION_35

        Specifies version 35 with 157 x 157 modules.

      • VERSION_36

        public static final QRVersion VERSION_36

        Specifies version 36 with 161 x 161 modules.

      • VERSION_37

        public static final QRVersion VERSION_37

        Specifies version 37 with 165 x 165 modules.

      • VERSION_38

        public static final QRVersion VERSION_38

        Specifies version 38 with 169 x 169 modules.

      • VERSION_39

        public static final QRVersion VERSION_39

        Specifies version 39 with 173 x 173 modules.

      • VERSION_40

        public static final QRVersion VERSION_40

        Specifies version 40 with 177 x 177 modules.

      • VERSION_M1

        public static final QRVersion VERSION_M1

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

      • VERSION_M2

        public static final QRVersion VERSION_M2

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

      • VERSION_M3

        public static final QRVersion VERSION_M3

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

      • VERSION_M4

        public static final QRVersion VERSION_M4

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

    • Method Detail

      • values

        public static QRVersion[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (QRVersion c : QRVersion.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static QRVersion valueOf(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getValue

        public int getValue()