gotoNextPage Property (DocumentViewerFindText)

Summary

Indicates whether to automatically search the next page when no more matches are found in the current.

Syntax

JavaScript Syntax
Object.defineProperty(DocumentViewerFindText.prototype, 'gotoNextPage', 
	get: function(), 
	set: function(value) 
) 
TypeScript Syntax
gotoNextPage: boolean;

Property Value

true to automatically search the next page when no more matches are found in the current; otherwise, false. Default value is true.

Remarks

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.

Example

For an example, refer to Find.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Documents.UI Assembly
Click or drag to resize