Indicates whether to automatically search the next page when no more matches are found in the current.
Object.defineProperty(DocumentViewerFindText.prototype, 'gotoNextPage',
get: function(),
set: function(value)
)
gotoNextPage: boolean;
true to automatically search the next page when no more matches are found in the current; otherwise, false. Default value is true.
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.
Products |
Support |
Feedback: gotoNextPage Property (DocumentViewerFindText) - Leadtools.Documents.UI |
Introduction |
Help Version 19.0.2017.3.21
|