[]
Serializable, Comparable<AutoMergeDirection>, ConstableUsed with IWorksheet.autoMerge(IRange,AutoMergeDirection) to control how adjacent cells with the same value are merged. The default direction is Column.
worksheet.getRange("A1:A4").setValue(new Object[][] {
{"Fruit"}, {"Fruit"}, {"Vegetable"}, {"Vegetable"}
});
worksheet.autoMerge(worksheet.getRange("A1:A4"), AutoMergeDirection.Column);
Enum.EnumDesc<E extends Enum<E>>static AutoMergeDirectionstatic AutoMergeDirection[]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