findAll Property

Summary

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

Syntax
TypeScript
JavaScript
Object.defineProperty(DocumentViewerFindText.prototype, 'findAll', 
	get: function(), 
	set: function(value) 
) 
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 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Viewer Assembly