LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

HitTest Method (AnnControlPoint)






The AnnPoint to be tested.
The center point
An AnnUnitConverter used to convert centerPoint to pixel coordinates.
Threshold buffer value.
Performs hit-testing on this AnnControlPoint.
Syntax
public virtual bool HitTest( 
   AnnPoint testPoint,
   AnnPoint centerPoint,
   AnnUnitConverter converter,
   int buffer
)
'Declaration
 
Public Overridable Function HitTest( _
   ByVal testPoint As AnnPoint, _
   ByVal centerPoint As AnnPoint, _
   ByVal converter As AnnUnitConverter, _
   ByVal buffer As Integer _
) As Boolean
'Usage
 
Dim instance As AnnControlPoint
Dim testPoint As AnnPoint
Dim centerPoint As AnnPoint
Dim converter As AnnUnitConverter
Dim buffer As Integer
Dim value As Boolean
 
value = instance.HitTest(testPoint, centerPoint, converter, buffer)
public virtual bool HitTest( 
   AnnPoint testPoint,
   AnnPoint centerPoint,
   AnnUnitConverter converter,
   int buffer
)
 function Leadtools.Annotations.AnnControlPoint.HitTest( 
   testPoint ,
   centerPoint ,
   converter ,
   buffer 
)
public:
virtual bool HitTest( 
   AnnPoint testPoint,
   AnnPoint centerPoint,
   AnnUnitConverter^ converter,
   int buffer
) 

Parameters

testPoint
The AnnPoint to be tested.
centerPoint
The center point
converter
An AnnUnitConverter used to convert centerPoint to pixel coordinates.
buffer
Threshold buffer value.

Return Value

true if hit-test is satisfied; otherwise, false.
Remarks
This method is called internally by the AnnEditDesigner.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnnControlPoint Class
AnnControlPoint Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.