.NET Framework Class Library
DocumentViewer.FindNext Method
<< Click to Display Table of Contents >> Navigation: Gnostice Document Studio .NET > Reference Documentation > API Reference > Gnostice.Controls.WinForms Namespace > DocumentViewer Class > DocumentViewer Methods > DocumentViewer.FindNext Method |
Search for text in the forward direction starting from either the current cursor position (CursorPosition) or the position of the last search occurrence.
Namespace: Gnostice.Controls.WinForms
Assembly: Gnostice.Controls.WinForms (in Gnostice.Controls.WinForms.dll)
Visual Basic |
Public Function FindNext ( _ |
C# |
public TextSearchResult FindNext( |
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.FindNext(String, TextSearchMode, TextSearchOptions, TextSearchResult)