get_offset();
set_offset(value);
!MISSING Scrap '_RTJavaScript_PROPERTY_SYNTAX'!
Type | Description |
---|---|
LeadPointD | Optional offset to apply to the spy glass position. The default value is 0,0. |
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.
This is useful for touch devices because the area under the user's finger obscures the view.