findAll Property

Summary

Indicates whether all matches should be returned between the provided bounds instead of just the first.

Syntax

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

Property Value

true to always search through the entire bounds and return all matches, or false to stop searching after finding the first match. The default value is true.

Remarks

If FindAll is true, DocumentViewerText.Find will always search completely through the BeginPosition and EndPosition bounds (though order may differ due to Start), and all results will be returned. This usually results in a much longer find operation, and if DocumentViewerText.AutoGetText is true then each page without parsed text will need to be parsed as well.

Additionally, if FindAll is true then the value of Loop does not matter.

SelectFirstResult can be used to select the first result and bring it into view automatically.

For more information, refer to DocumentViewerText.Find.

History

19.0.0.49
Added
Example

For an example, refer to DocumentViewerText.Find.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents.UI Assembly