Enum Class ImageType

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

public enum ImageType extends Enum<ImageType>
指定图像类型。
  • Enum Constant Details

    • PNG

      public static final ImageType PNG
      表示一个png图像。
    • JPG

      public static final ImageType JPG
      表示一个jpg图像。
    • JPEG

      public static final ImageType JPEG
      表示一个jpeg图像。
    • EMF

      public static final ImageType EMF
      表示一个emf图像。
    • GIF

      public static final ImageType GIF
      表示一个gif图像。
    • WMF

      public static final ImageType WMF
      表示一个wmf图像。
    • SVG

      public static final ImageType SVG
      表示一个svg图像。
  • Method Details

    • values

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