Package com.aspose.barcode.generation
Enum Class MicroQRVersion
- All Implemented Interfaces:
Serializable,Comparable<MicroQRVersion>,Constable
Version of MicroQR Code. From M1 to M4.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSpecifies to automatically pick up the best version for MicroQR.Specifies version M1 for Micro QR with 11 x 11 modules.Specifies version M2 for Micro QR with 13 x 13 modules.Specifies version M3 for Micro QR with 15 x 15 modules.Specifies version M4 for Micro QR with 17 x 17 modules. -
Method Summary
Modifier and TypeMethodDescriptionstatic MicroQRVersionfromValue(int value) intgetValue()static MicroQRVersionReturns the enum constant of this class with the specified name.static MicroQRVersion[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AUTO
Specifies to automatically pick up the best version for MicroQR. This is default value.
-
M1
Specifies version M1 for Micro QR with 11 x 11 modules.
-
M2
Specifies version M2 for Micro QR with 13 x 13 modules.
-
M3
Specifies version M3 for Micro QR with 15 x 15 modules.
-
M4
Specifies version M4 for Micro QR with 17 x 17 modules.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getValue
public int getValue() -
fromValue
-