←Select platform

AutoSelect Property (DocumentViewerFindText)

Summary

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

Syntax

C#
VB
C++
public bool AutoSelect { get; set; }
Public Property AutoSelect() As Boolean 
   Get 
   Set 
public:  
   property bool AutoSelect 
   { 
      bool get() 
      void set(bool value) 
   } 

Property Value

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

Remarks

When used with Find, the document viewer will automatically calls 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 View if the value of RenderSelection is true (the default).

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