[]
        
立即试用
(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>
指定条形码的类型。
  • 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
    概要:Codabar使用 A B C D + - : , / 以及数字。
    Code 128使用完整的ASCII字符集。自动在Code 128 A、B和C之间选择以生成最小的条形码。
    概要:Code 39使用数字、% $ /.
    Code 49是一种二维高密度堆叠条形码。编码完整的ASCII字符集。
    概要:Code 93使用大写字母、% $ / , + -, 和数字。
    概要:数据矩阵是一种高密度、二维条码,具有按方形或矩形矩阵图案排列的方形模块。
    概要:EAN-13仅使用数字(12个数字和一个校验位)。如果字符串中只有12个数字,它会计算校验和并将其添加到第13个位置。如果有13个数字,它会验证校验和,并在不正确时抛出错误。
    摘要:EAN-8仅使用数字(7个数字和一个校验数字)。
    概要:使用完整的ASCII字符集。这是在HIBC应用中使用的一种特殊的Code 128版本。
    概要:Pdf417是一种流行的高密度二维符号,可编码多达1108字节的信息。这种条码由一组堆叠的小型条码组成。编码完整的ASCII字符集。能够编码多达2725个数据字符。
    摘要:QR码是一种二维符号,能够处理数字、字母数字和字节数据以及日本汉字和假名字符。这种符号最多可以编码7,366个字符。
  • Method Summary

    Modifier and Type
    Method
    Description
    forValue(int value)
    根据指定的整数值获取对应的枚举常量。
    int
    获取表示枚举常量的整数值。
    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
      摘要:QR码是一种二维符号,能够处理数字、字母数字和字节数据以及日本汉字和假名字符。这种符号最多可以编码7,366个字符。
    • DataMatrix

      public static final BarcodeType DataMatrix
      概要:数据矩阵是一种高密度、二维条码,具有按方形或矩形矩阵图案排列的方形模块。
    • PDF417

      public static final BarcodeType PDF417
      概要:Pdf417是一种流行的高密度二维符号,可编码多达1108字节的信息。这种条码由一组堆叠的小型条码组成。编码完整的ASCII字符集。能够编码多达2725个数据字符。
    • EAN8

      public static final BarcodeType EAN8
      摘要:EAN-8仅使用数字(7个数字和一个校验数字)。
    • EAN13

      public static final BarcodeType EAN13
      概要:EAN-13仅使用数字(12个数字和一个校验位)。如果字符串中只有12个数字,它会计算校验和并将其添加到第13个位置。如果有13个数字,它会验证校验和,并在不正确时抛出错误。
    • Code39

      public static final BarcodeType Code39
      概要:Code 39使用数字、% $ /. ,- +,以及大写字母。
    • Code93

      public static final BarcodeType Code93
      概要:Code 93使用大写字母、% $ / , + -, 和数字。
    • Code49

      public static final BarcodeType Code49
      Code 49是一种二维高密度堆叠条形码。编码完整的ASCII字符集。
    • Code128

      public static final BarcodeType Code128
      Code 128使用完整的ASCII字符集。自动在Code 128 A、B和C之间选择以生成最小的条形码。
    • Codabar

      public static final BarcodeType Codabar
      概要:Codabar使用 A B C D + - : , / 以及数字。
    • GS1_128

      public static final BarcodeType GS1_128
      概要:使用完整的ASCII字符集。这是在HIBC应用中使用的一种特殊的Code 128版本。
  • 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()
      获取表示枚举常量的整数值。
      Returns:
      枚举常量的序数值。
    • forValue

      public static BarcodeType forValue(int value)
      根据指定的整数值获取对应的枚举常量。
      Parameters:
      value - 表示枚举常量的整数值。
      Returns:
      BarcodeType 枚举常量。