Enum Class PictureColorType

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

public enum PictureColorType extends Enum<PictureColorType>
指定应用于图片的颜色转换。
  • Enum Constant Details

    • Automatic

      public static final PictureColorType Automatic
      指定默认的颜色转换。
    • Grayscale

      public static final PictureColorType Grayscale
      指定灰度变换。
    • BlackAndWhite

      public static final PictureColorType BlackAndWhite
      指定黑白转换。
    • Watermark

      public static final PictureColorType Watermark
      指定水印转换。
    • Mixed

      public static final PictureColorType Mixed
      混合转换。
  • Method Details

    • values

      public static PictureColorType[] 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 PictureColorType 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