[]
Serializable, Comparable<PresetThreeDFormat>, ConstableUse this enumeration to identify one of the built-in 3-D format presets when working with shape or chart three-dimensional formatting.
PresetThreeDFormat format = PresetThreeDFormat.valueOf("ThreeD5");
if (format == PresetThreeDFormat.ThreeD5) {
IShape shape = worksheet.getShapes().addShape(AutoShapeType.Rectangle, 20, 20, 120, 60);
shape.getThreeD().setVisible(true);
}
Enum.EnumDesc<E extends Enum<E>>static PresetThreeDFormatstatic PresetThreeDFormat[]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