←Select platform

Position Property

Summary

Gets the location for the current interactive point mode.

Syntax

C#
VB
C++
public Point Position { get; } 
  
Public ReadOnly Property Position As Point 
public: 
property Point Position { 
   Point get(); 
} 

Property Value

The location for the current interactive point mode.

Remarks

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).

Example

For C#/VB examples, refer to InteractiveCenterAt.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.Controls Assembly