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



testPoint
The Point to be tested.
testPoint
The Point to be tested.
Performs hit-testing on this AnnObjectBase header.

Syntax

Visual Basic (Declaration) 
Public Function HitTestHeader( _
   ByVal testPoint As Point _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As AnnObjectBase
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 Point to be tested.

Return Value

A boolean value, true if the test point is on top of this AnnObjectBase 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: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

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.