[]
        
(Showing Draft Content)

BarcodeType

Enum Class BarcodeType

java.lang.Object
java.lang.Enum<BarcodeType>
com.grapecity.documents.excel.BarcodeType
All Implemented Interfaces:
Serializable, Comparable<BarcodeType>, Constable

public enum BarcodeType extends Enum<BarcodeType>
Specifies the type of barcode.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Summary: Codabar uses A B C D + - : , / and numbers.
    Code 128 uses the complete ASCII character set.
    Summary: Code 39 uses numbers, % * $ /.
    Code 49 is a 2D high-density stacked barcode.
    Summary: Code 93 uses uppercase, % $ * / , + -, and numbers.
    Summary: Data Matrix is a high density, two-dimensional barcode with square modules arranged in a square or rectangular matrix pattern.
    Summary: EAN-13 uses only numbers (12 numbers and a check digit).
    Summary: EAN-8 uses only numbers (7 numbers and a check digit).
    Summary: Uses the complete ASCII character Set.
    Summary: Pdf417 is a popular high-density 2-dimensional symbology that encodes up to 1108 bytes of information.
    Summary: QRCode is a 2D symbology that is capable of handling numeric, alphanumeric and byte data as well as Japanese kanji and kana characters.
  • Method Summary

    Modifier and Type
    Method
    Description
    forValue(int value)
    Retrieves the enum constant corresponding to the specified integer value.
    int
    Retrieves the integer value representing the enum constant.
    Returns the enum constant of this class with the specified name.
    static BarcodeType[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • QRCode

      public static final BarcodeType QRCode
      Summary: QRCode is a 2D symbology that is capable of handling numeric, alphanumeric and byte data as well as Japanese kanji and kana characters. This symbology can encode up to 7,366 characters.
    • DataMatrix

      public static final BarcodeType DataMatrix
      Summary: Data Matrix is a high density, two-dimensional barcode with square modules arranged in a square or rectangular matrix pattern.
    • PDF417

      public static final BarcodeType PDF417
      Summary: Pdf417 is a popular high-density 2-dimensional symbology that encodes up to 1108 bytes of information. This barcode consists of a stacked set of smaller barcodes. Encodes the full ASCII character set. Capable of encoding as many as 2725 data characters.
    • EAN8

      public static final BarcodeType EAN8
      Summary: EAN-8 uses only numbers (7 numbers and a check digit).
    • EAN13

      public static final BarcodeType EAN13
      Summary: EAN-13 uses only numbers (12 numbers and a check digit). If there are only 12 numbers in the string, it calculates a checksum and adds it to the thirteenth position. If there are 13, it validates the checksum and throws an error if it is incorrect.
    • Code39

      public static final BarcodeType Code39
      Summary: Code 39 uses numbers, % * $ /. , - +, and upper case.
    • Code93

      public static final BarcodeType Code93
      Summary: Code 93 uses uppercase, % $ * / , + -, and numbers.
    • Code49

      public static final BarcodeType Code49
      Code 49 is a 2D high-density stacked barcode. Encodes the complete ASCII character set.
    • Code128

      public static final BarcodeType Code128
      Code 128 uses the complete ASCII character set. Automatically selects between Code 128 A, B and C to give the smallest barcode.
    • Codabar

      public static final BarcodeType Codabar
      Summary: Codabar uses A B C D + - : , / and numbers.
    • GS1_128

      public static final BarcodeType GS1_128
      Summary: Uses the complete ASCII character Set. This is a special version of Code 128 used in HIBC applications.
  • Method Details

    • values

      public static BarcodeType[] 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 BarcodeType 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()
      Retrieves the integer value representing the enum constant.
      Returns:
      The ordinal value of the enum constant.
    • forValue

      public static BarcodeType forValue(int value)
      Retrieves the enum constant corresponding to the specified integer value.
      Parameters:
      value - The integer value representing the enum constant.
      Returns:
      The BarcodeType enum constant.