Package com.aspose.barcode.generation
Enum Class Pdf417ErrorLevel
- All Implemented Interfaces:
Serializable,Comparable<Pdf417ErrorLevel>,Constable
pdf417 barcode's error correction level, from level 0 to level 9, level 0 means no error correction, level 9 means best error correction
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionError Correction Level - 0.Error Correction Level - 1.Error Correction Level - 2.Error Correction Level - 3.Error Correction Level - 4.Error Correction Level - 5.Error Correction Level - 6.Error Correction Level - 7.Error Correction Level - 8. -
Method Summary
Modifier and TypeMethodDescriptionintgetValue()static Pdf417ErrorLevelReturns the enum constant of this class with the specified name.static Pdf417ErrorLevel[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LEVEL_0
Error Correction Level - 0. Error Correction Codewords - 2.
-
LEVEL_1
Error Correction Level - 1. Error Correction Codewords - 4.
-
LEVEL_2
Error Correction Level - 2. Error Correction Codewords - 8.
-
LEVEL_3
Error Correction Level - 3. Error Correction Codewords - 16.
-
LEVEL_4
Error Correction Level - 4. Error Correction Codewords - 32.
-
LEVEL_5
Error Correction Level - 5. Error Correction Codewords - 64.
-
LEVEL_6
Error Correction Level - 6. Error Correction Codewords - 128.
-
LEVEL_7
Error Correction Level - 7. Error Correction Codewords - 256.
-
LEVEL_8
Error Correction Level - 8. Error Correction Codewords - 512.
-
-
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()
-