autoSelect Property



Indicates whether text found should be selected and rendered in the view.


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

Property Value

true if the text found should be selected and rendered in the view; otherwise, false. Default value is true.


(This property was removed in version Please see SelectFirstResult instead.)

When used with DocumentViewerText.Find, the document viewer will automatically call DocumentViewerText.SetSelectedTextItems to update the state of the globally selected text. Any previously selected text will be cleared and the new match (if any) is used instead.

The selected text is automatically rendered on the DocumentViewer.View if the value of DocumentViewerText.RenderSelection is true (the default).

Removed - Replaced by SelectFirstResult

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