←Select platform

EnsureVisible Property

Summary

Indicates whether to automatically position the spy glass over the image and not beyond the image area.

Syntax

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

Property Value

true to automatically position the spy glass over the image and not beyond the image area; otherwise, it is false. The default value is true.

Remarks

By default, the spy glass will show centered around the current position. Use Offset to move the spy glass up, down, left or right by any given offset.

When Offset is set to a value other than 0,0, then Use EnsureVisible to stop the spy glass from moving outside the image area in the viewer.

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.Controls.WinForms Assembly