Leadtools.Controls Namespace > ImageViewerSpyGlassInteractiveMode Object : EnsureVisible Property |
get_ensureVisible();
set_ensureVisible(value);
Object.defineProperty('ensureVisible');
Type | Description |
---|---|
boolean | 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. 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.