Enum Class DataMatrixEccType

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

public enum DataMatrixEccType extends Enum<DataMatrixEccType>

Specify the type of the ECC to encode.

  • Enum Constant Details

    • ECC_AUTO

      public static final DataMatrixEccType ECC_AUTO

      Specifies that encoded Ecc type is defined by default Reed-Solomon error correction or ECC 200.

    • ECC_000

      public static final DataMatrixEccType ECC_000

      Specifies that encoded Ecc type is defined ECC 000.

    • ECC_050

      public static final DataMatrixEccType ECC_050

      Specifies that encoded Ecc type is defined ECC 050.

    • ECC_080

      public static final DataMatrixEccType ECC_080

      Specifies that encoded Ecc type is defined ECC 080.

    • ECC_100

      public static final DataMatrixEccType ECC_100

      Specifies that encoded Ecc type is defined ECC 100.

    • ECC_140

      public static final DataMatrixEccType ECC_140

      Specifies that encoded Ecc type is defined ECC 140.

    • ECC_200

      public static final DataMatrixEccType ECC_200

      Specifies that encoded Ecc type is defined ECC 200. Recommended to use.

  • Method Details

    • values

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