[]
        
立即试用
(Showing Draft Content)

Placement

Enum Class Placement

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

public enum Placement extends Enum<Placement>
指定对象与其底层单元格的连接方式。
  • Enum Constant Details

    • MoveAndSize

      public static final Placement MoveAndSize
      指定对象随单元格移动和调整大小。
    • Move

      public static final Placement Move
      指定对象随单元格移动。
    • FreeFloating

      public static final Placement FreeFloating
      指定一个对象是自由浮动的。
  • Method Details

    • values

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