←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
WinRT C#
public bool EnsureVisible {get; set;} 
Public Property EnsureVisible As Boolean 
public bool EnsureVisible {get; set;} 
public boolean getEnsureVisible() 
public void setEnsureVisible(boolean ensureVisible) 
             
  
get_EnsureVisible(); 
set_EnsureVisible(value); 
Object.defineProperty('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

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)