Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.3
|
Leadtools.Documents.UI Namespace > DocumentViewerFindText Class : GotoNextPage Property |
public bool GotoNextPage {get; set;}
'Declaration
Public Property GotoNextPage As Boolean
'Usage
Dim instance As DocumentViewerFindText Dim value As Boolean instance.GotoNextPage = value value = instance.GotoNextPage
When GotoNextPage is true (the default) and the search has exhausted the text in the current PageNumber, the engine will automatically advances to the next page (could be PageNumber + 1 or - 1 depending if find next or find pervious is being performed. When search reaches the end of the document (or beginning with find previous operation), the value of Recursive is checked, and it is true, then search will continue by cycling through the document pages till the original location is reached and no more matches found.
If a match is found, PageNumber will be updated with the number of page.
When GotoNextPage is false, then search is restricted in the current page only. When the search has exhausted the text, it will not go to the next page. If Recursive is true, then search will cycle through the text of the page till the original location is reached and no more matches found.
For an example, refer to Find.