LEADTOOLS JavaScript (Leadtools.Controls)

Offset Property

Show in webframe
Gets or sets optional offset to apply to the spy glass position.
Syntax
get_offset();
set_offset(value);
Object.defineProperty('offset');

Property Value

TypeDescription
LeadPointDOptional offset to apply to the spy glass position. The default value is 0,0.
Remarks

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.

This is useful for touch devices because the area under the user's finger obscures the view.

See Also

Reference

ImageViewerSpyGlassInteractiveMode Object
ImageViewerSpyGlassInteractiveMode Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.