public AnnObject[] HitTestRect( LeadRectD rect )
function Leadtools.Annotations.Core.AnnContainer.HitTestRect( rect )
HitTestBuffer can be used to make the test point "bigger" to compensate for errors and provide smoother hit-testing. For example, if buffer is 2, a square with a length of 4 units around testPoint will be used to perform the hit-testing.
If more than one object overlaps underneath the test point, the method will return the object on top of the Z-order.
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