Leadtools.Windows.Controls Namespace > PointInteractiveEventArgs Class : Position Property |
public Point Position {get;}
'Declaration Public ReadOnly Property Position As Point
'Usage Dim instance As PointInteractiveEventArgs Dim value As Point value = instance.Position
public Point Position {get;}
get_Position();
The Position coordinates are always in control (display) to image coordinates. You can use PointToImageCoordinates and BoundsToImageCoordinates to map a value in control or display coordinates (what is on screen) to image coordinates (actual x and y location in the image pixels). You can use PointFromImageCoordinates and BoundsFromImageCoordinates to map a value in image coordinates (actual x and y location in t he image pixels) to control or display coordinates (what is on screen).
For C#/VB examples, refer to InteractiveCenterAt.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2