←Select platform

AutoEnsureVisible Property (DocumentViewerFindText)

Summary

Indicates whether the view should automatically pan so the found text is visible.

Syntax

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

Property Value

true if view should automatically pan so the found text is visible; otherwise, false. Default value is true.

Remarks

When used with Find, the document viewer will automatically calls EnsureBoundsVisible on the location and size of the new text found (if any) to ensure it is visible in the current view.

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