LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
PointerPosition Property
See Also 
Leadtools.Windows.Annotations Namespace > AnnTextPointerObject Class : PointerPosition Property



The PointerPosition Property supports WPF/Silverlight.

The PointerPosition Property is available in LEADTOOLS Document and Medical Imaging toolkits.

Gets or sets the position of this AnnTextPointerObject object's pointer. This is a dependency property.Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Property PointerPosition As Point
Visual Basic (Usage)Copy Code
Dim instance As AnnTextPointerObject
Dim value As Point
 
instance.PointerPosition = value
 
value = instance.PointerPosition
C# 
public Point PointerPosition {get; set;}
C++/CLI 
public:
property Point PointerPosition {
   Point get();
   void set (    Point value);
}

Property Value

A System.Windows.Point structure that specifies the position of the pointer

Example

For XAML example, refer to AnnGroupObject.

For C#/VB examples, refer to AnnTextPointerObject.

Remarks

The pointer will be drawn as the shortest straight line between any of the 4 corners of the bounding rectangle and this position. The annotation framework will update this line automatically when this AnnTextPointerObject object is transformed.
For more information, refer to Using Text in WPF Annotation Objects.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

PointerPosition requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.