[]
Serializable, Comparable<VerticalAlignment>, ConstableUse this enum with APIs such as IRange.setVerticalAlignment(VerticalAlignment) and IStyle.setVerticalAlignment(VerticalAlignment) to control how text is aligned within a cell, range, or styled object. Available values place text at the top, center, or bottom, or apply justified or distributed vertical alignment.
IRange range = worksheet.getRange("A1:A3");
range.merge();
range.setValue("Notes");
range.setVerticalAlignment(VerticalAlignment.Center);
Enum.EnumDesc<E extends Enum<E>>static VerticalAlignmentstatic VerticalAlignment[]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 null