.NET Framework Class Library
DocumentViewer.FindPrevious Method
<< Click to Display Table of Contents >> Navigation: Gnostice Document Studio .NET > Reference Documentation > API Reference > Gnostice.Controls.WPF Namespace > DocumentViewer Class > DocumentViewer Methods > DocumentViewer.FindPrevious Method |
Search for text in the reverse direction starting from either the current cursor position (CursorPosition) or the position of the last search occurrence.
Namespace: Gnostice.Controls.WPF
Assembly: Gnostice.Controls.WPF (in Gnostice.Controls.WPF.dll)
Visual Basic |
Public Function FindPrevious ( _ |
C# |
public TextSearchResult FindPrevious( |
Visual C++ |
public: |
searchText
Type: System.String
The text string to look for.
textSearchMode (Optional)
Type: Gnostice.Core.TextSearchMode
The text search mode. Whether literal search or pattern search using regex.
searchOptions (Optional)
Type: Gnostice.Core.TextSearchOptions
Text search options.
lastSearchResult (Optional)
Type: Gnostice.Core.DOM.TextSearchResult
The result of the last search operation or null if the search should start at the current cursor position (CursorPosition).
Details of the search text occurrence (TextSearchResult) or null if no more occurrences of the search text could be found.
IView.FindPrevious(String, TextSearchMode, TextSearchOptions, TextSearchResult)