[]
        
立即试用
(Showing Draft Content)

PrintLocation

Enum Class PrintLocation

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

public enum PrintLocation extends Enum<PrintLocation>
表示注释与工作表一起打印的方式。
  • Enum Constant Details

    • NoComments

      public static final PrintLocation NoComments
      不打印批注。
    • SheetEnd

      public static final PrintLocation SheetEnd
      批注打印为工作表末尾的尾注。
    • InPlace

      public static final PrintLocation InPlace
      注释将打印在工作表上插入的位置。
  • Method Details

    • values

      public static PrintLocation[] 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 PrintLocation 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()
    • forValue

      public static PrintLocation forValue(int value)