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
HitTestHeader Method
See Also 
Leadtools.Windows.Annotations Namespace > AnnObject Class : HitTestHeader Method



testPoint
The System.Windows.Point to be tested.
testPoint
The System.Windows.Point to be tested.
Performs hit-testing on this AnnObject header. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Function HitTestHeader( _
   ByVal testPoint As Point _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As AnnObject
Dim testPoint As Point
Dim value As Boolean
 
value = instance.HitTestHeader(testPoint)
C# 
public bool HitTestHeader( 
   Point testPoint
)
C++/CLI 
public:
bool HitTestHeader( 
   Point testPoint
) 

Parameters

testPoint
The System.Windows.Point to be tested.

Return Value

A boolean value, true if the test point is on top of this AnnObject header, false otherwise.

Remarks

This method is called internally by the annotation framework whenever the AnnEditDesigner.OnMouseLeftButtonDown method is called. You do not need to call this property directly.

testPoint should be in physical coordinates.

If the header of this object is invisible (IsHeaderVisible is set to false), this method will not be called.

By default, an annotation object will return true if hit-testing the header was satisfied.

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

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