←Select platform

HitTest Method

Summary

Performs hit-testing on this AnnCrossProductObject object.

Syntax

C#
VB
C++
public override object HitTest( 
   AnnPoint testPoint, 
   int buffer 
) 
  
Public Overrides Function HitTest( _ 
   ByVal testPoint As Leadtools.Annotations.AnnPoint, _ 
   ByVal buffer As Integer _ 
) As Object 
public: 
Object^ HitTest(  
   Leadtools.Annotations.AnnPoint testPoint, 
   int buffer 
) override  

Parameters

testPoint
An AnnPoint structure that contains the point to be tested.

buffer
Value that represents the size of the point to test.

Return Value

This method returns FirstRulerHitTestObject or SecondRulerHitTestObject; or null (Nothing in VB) if the test point does not hit this AnnCrossProductObject object.

Remarks

The AnnCrossProductObject class overrides this method to fine-tune the return value for hit-testing. Instead of simply returning the default AnnObject.DefaultHitTestValue, this method will return either FirstRulerHitTestObject or SecondRulerHitTestObject.

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