Leadtools.Windows.Annotations Requires Document/Medical license. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
PointerPosition Property
See Also 
Leadtools.Windows.Annotations Namespace > AnnTextPointerObject Class : PointerPosition Property





Gets or sets the position of this AnnTextPointerObject object's pointer. This is a dependency property.

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);
}
XAML Attributes Usage 

<object PointerPosition=xPosition, yPosition .../>

Dependencies Property Information 

Identifier field

PointerPositionProperty

Metadata properties set to true

None

XAML Property Element Usage 

<object> <object.PointerPosition> <Point X=xPosition Y=xPosition/> </object.PointerPosition> </object>

XAML Attributes Usage 

<object PointerPosition=xPosition, yPosition .../>

Dependencies Property Information 

Identifier field

PointerPositionProperty

Metadata properties set to true

None

XAML Property Element Usage 

<object> <object.PointerPosition> <Point X=xPosition Y=xPosition/> </object.PointerPosition> </object>

Return Value

A 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: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

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.