[]
Serializable, Comparable<TextDirection>, ConstableUsed with ITextFrame.setDirection(TextDirection) to control how text is oriented within a shape, including horizontal, vertical, rotated, and stacked layouts.
IShape shape = worksheet.getShapes().addShape(AutoShapeType.Rectangle, 10, 10, 200, 200);
shape.getTextFrame().getTextRange().getParagraphs().add("Hello");
shape.getTextFrame().setDirection(TextDirection.Vertical);
Enum.EnumDesc<E extends Enum<E>>static TextDirectionforValue(int value) intgetValue()static TextDirectionstatic TextDirection[]values()name - the name of the enum constant to be returned.IllegalArgumentException - if this enum class has no constant with the specified nameNullPointerException - if the argument is nullvalue - The ordinal value.