Enum Class PicType

java.lang.Object
java.lang.Enum<PicType>
org.aoju.bus.office.word.PicType
All Implemented Interfaces:
Serializable, Comparable<PicType>, Constable

public enum PicType extends Enum<PicType>
Word中的图片类型
Since:
Java 17+
Author:
Kimi Liu
  • Enum Constant Details

    • EMF

      public static final PicType EMF
    • WMF

      public static final PicType WMF
    • PICT

      public static final PicType PICT
    • JPEG

      public static final PicType JPEG
    • PNG

      public static final PicType PNG
    • DIB

      public static final PicType DIB
    • GIF

      public static final PicType GIF
    • TIFF

      public static final PicType TIFF
    • EPS

      public static final PicType EPS
    • WPG

      public static final PicType WPG
  • Method Details

    • values

      public static PicType[] 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 PicType 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:
      图片值