←Select platform

HitTest Method

Summary

Performs hit-testing on this AnnControlPoint.

Syntax

C#
VB
C++
public virtual bool HitTest( 
   AnnPoint testPoint, 
   AnnPoint centerPoint, 
   AnnUnitConverter converter, 
   int buffer 
) 
  
Public Overridable Function HitTest( _ 
   ByVal testPoint As Leadtools.Annotations.AnnPoint, _ 
   ByVal centerPoint As Leadtools.Annotations.AnnPoint, _ 
   ByVal converter As Leadtools.Annotations.AnnUnitConverter, _ 
   ByVal buffer As Integer _ 
) As Boolean 

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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations Assembly