<
Indicates whether to automatically search the next page when no more matches are found in the current page.
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 page; otherwise, false. Default value is true.
(This property was removed in version 19.0.0.49
. Please see BeginPosition and EndPosition instead.)
When GotoNextPage is true (the default) and the search has exhausted the text in the current PageNumber, the engine will automatically advance to the next page (which could be PageNumber + 1 or - 1 depending if find next or find previous is being performed). When search reaches the end of the document (or the beginning with a find previous operation), the value of Recursive is checked, and this value is true, then search will continue by cycling through the document pages till the original location is reached and no more matches are found.
If a match is found, PageNumber will be updated with the number of page.
When GotoNextPage is false, then search is restricted to 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 until the original location is reached and no more matches are found.
History