←Select platform

EnsureVisible Property

Summary

Gets or sets a value that indicates whether to automatically position the spy glass over the image and not beyond the image area.

Syntax

C#
VB
Java
public bool EnsureVisible {get; set;} 
Public Property EnsureVisible As Boolean 
public boolean getEnsureVisible() 
public void setEnsureVisible(boolean ensureVisible) 
             

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. You can 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 you can use EnsureVisible to stop the spy glass from moving outside the image area in the viewer.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

Help Version 19.0.2017.10.28
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly (WinRT / WPF / iOS / OS X / Android)