←Select platform

Offset Property

Summary

Optional offset to apply to the spy glass position.

Syntax
C#
Objective-C
C++/CLI
public virtual LeadPoint Offset { get; set; } 
@property (nonatomic, assign) CGPoint offset; 
public:  
   virtual property LeadPoint^ Offset 
   { 
      LeadPoint^ get() 
      void set(LeadPoint^ value) 
   } 

Property Value

Optional offset to apply to the spy glass position in pixels. 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.

Requirements

Target Platforms

Help Version 22.0.2023.1.24
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.