Enum Class HanXinErrorLevel

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

public enum HanXinErrorLevel extends Enum<HanXinErrorLevel>

Level of Reed-Solomon error correction. From low to high: L1, L2, L3, L4.

  • Enum Constant Details

    • L1

      public static final HanXinErrorLevel L1

      Allows recovery of 8% of the code text

    • L2

      public static final HanXinErrorLevel L2

      Allows recovery of 15% of the code text

    • L3

      public static final HanXinErrorLevel L3

      Allows recovery of 23% of the code text

    • L4

      public static final HanXinErrorLevel L4

      Allows recovery of 30% of the code text

  • Method Details

    • values

      public static HanXinErrorLevel[] 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 HanXinErrorLevel 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()