Package com.aspose.barcode.generation
Enum Pdf417ErrorLevel
- java.lang.Object
-
- java.lang.Enum<Pdf417ErrorLevel>
-
- com.aspose.barcode.generation.Pdf417ErrorLevel
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Pdf417ErrorLevel>
public enum Pdf417ErrorLevel extends java.lang.Enum<Pdf417ErrorLevel>
pdf417 barcode's error correction level, from level 0 to level 9, level 0 means no error correction, level 9 means best error correction
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
static Pdf417ErrorLevel
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Pdf417ErrorLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LEVEL_0
public static final Pdf417ErrorLevel LEVEL_0
level = 0.
-
LEVEL_1
public static final Pdf417ErrorLevel LEVEL_1
level = 1.
-
LEVEL_2
public static final Pdf417ErrorLevel LEVEL_2
level = 2.
-
LEVEL_3
public static final Pdf417ErrorLevel LEVEL_3
level = 3.
-
LEVEL_4
public static final Pdf417ErrorLevel LEVEL_4
level = 4.
-
LEVEL_5
public static final Pdf417ErrorLevel LEVEL_5
level = 5.
-
LEVEL_6
public static final Pdf417ErrorLevel LEVEL_6
level = 6.
-
LEVEL_7
public static final Pdf417ErrorLevel LEVEL_7
level = 7.
-
LEVEL_8
public static final Pdf417ErrorLevel LEVEL_8
level = 8.
-
-
Method Detail
-
values
public static Pdf417ErrorLevel[] 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 (Pdf417ErrorLevel c : Pdf417ErrorLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Pdf417ErrorLevel 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 namejava.lang.NullPointerException
- if the argument is null
-
getValue
public int getValue()
-
-