[]
Serializable, Comparable<Pattern>, ConstableUse this enum with IInterior.setPattern(Pattern) to apply solid, patterned, or gradient fills.
IRange cell = worksheet.getRange("A1");
cell.setValue("Test");
cell.getInterior().setPattern(Pattern.LightDown);
cell.getInterior().setColor(Color.GetBlue());
cell.getInterior().setPatternColor(Color.GetWhite());
Enum.EnumDesc<E extends Enum<E>>static PatternforValue(int value) intgetValue()static Patternstatic Pattern[]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 integer value of the pattern.Pattern enum constant associated with the specified value.IllegalArgumentException - if value does not match a defined pattern.