[]
        
(Showing Draft Content)

TextDirection

Enum Class TextDirection

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

public enum TextDirection extends Enum<TextDirection>
Specifies the text direction.
  • Enum Constant Details

    • Horizontal

      public static final TextDirection Horizontal
      Horizontal text direction.
    • Vertical

      public static final TextDirection Vertical
      Vertical text direction.
    • Rotate90

      public static final TextDirection Rotate90
      Rotate text by 90 angle.
    • Rotate270

      public static final TextDirection Rotate270
      Rotate text by 270 angle.
    • Stacked

      public static final TextDirection Stacked
      Stacked text and the text reading order is from left to right.
    • StackedRtl

      public static final TextDirection StackedRtl
      Stacked text and the text reading order is from right to left.
  • Method Details

    • values

      public static TextDirection[] 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 TextDirection 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 TextDirection forValue(int value)