Enum Class PasteType

java.lang.Object
java.lang.Enum<PasteType>
com.grapecity.documents.excel.PasteType
所有已实现的接口:
Serializable, Comparable<PasteType>, Constable

public enum PasteType extends Enum<PasteType>
Specifies the type of paste.
  • 枚举常量详细资料

    • Values

      public static final PasteType Values
      Specifies to only paste cell values.
    • Formulas

      public static final PasteType Formulas
      Specifies to only paste cell formulas.
    • Formats

      public static final PasteType Formats
      Specifies to only paste formats.
    • NumberFormats

      public static final PasteType NumberFormats
      Specifies to only paste number formats.
    • ColumnWidths

      public static final PasteType ColumnWidths
      Specifies to only paste column widths.
    • RowHeights

      public static final PasteType RowHeights
      Specifies to only paste row heights.
  • 方法详细资料

    • values

      public static PasteType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      返回:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PasteType 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.)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 如果参数为空值