LEADTOOLS JavaScript (Leadtools.Controls)
LEAD Technologies, Inc

EnsureVisible Property


Gets or sets a value that indicates whether to automatically position the spy glass over the image and not beyond the image area.
Syntax
  get_ensureVisible();
 set_ensureVisible(value);
!MISSING Scrap '_RTJavaScript_PROPERTY_SYNTAX'!

Property Value

TypeDescription
booleantrue 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.

See Also

Reference

ImageViewerSpyGlassInteractiveMode Object
ImageViewerSpyGlassInteractiveMode Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.