Gets or sets a value that indicates whether to automatically position the spy glass over the image and not beyond the image area.
public bool EnsureVisible {get; set;}
Public Property EnsureVisible As Boolean
public boolean getEnsureVisible()
public void setEnsureVisible(boolean ensureVisible)
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.
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.
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
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET