[]
Serializable, Comparable<SearchDirection>, ConstableIRange.find(Object,IRange,FindOptions) 方法时在区域中搜索的方向。与 FindOptions.setSearchDirection(SearchDirection) 一起使用,可以控制搜索是在区域中向前( Next)还是向后( Previous)进行。
worksheet.getRange("A1:A3").setValue(new Object[][] {{10}, {20}, {10}});
IRange searchRange = worksheet.getRange("A1:A3");
FindOptions options = new FindOptions();
options.setSearchDirection(SearchDirection.Previous);
IRange found = searchRange.find(10, null, options);
Enum.EnumDesc<E extends Enum<E>>static SearchDirectionforValue(int value) intgetValue()static SearchDirectionstatic SearchDirection[]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.