[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.FindOptions.SearchDirection

SearchDirection Property

SearchDirection

Gets or sets the search direction used by Find(object, IRange, FindOptions).

The returned value determines whether the search proceeds forward (Next) or backward (Previous) through the range.

Declaration
public SearchDirection SearchDirection { get; set; }
Public Property SearchDirection As SearchDirection
Examples
worksheet.Range["A1"].Value = "Hello World";
FindOptions options = new FindOptions();
options.SearchDirection = SearchDirection.Previous;
SearchDirection searchDirection = options.SearchDirection;
worksheet.Range["A1:A1"].Find("Hello", null, options);