autoSelect Property

<

Summary

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

Syntax

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.

Remarks

(This property was removed in version 19.0.0.49. 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).

History

19.0.0.49
Removed - Replaced by SelectFirstResult
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