Visual Basic (Declaration) | |
---|---|
Public Overridable Function HitTest( _ ByVal testPoint As AnnPoint, _ ByVal centerPoint As AnnPoint, _ ByVal converter As AnnUnitConverter, _ ByVal buffer As Integer _ ) As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public virtual bool HitTest( AnnPoint testPoint, AnnPoint centerPoint, AnnUnitConverter converter, int buffer ) |
Managed Extensions for C++ | |
---|---|
public: virtual bool HitTest( AnnPoint testPoint, AnnPoint centerPoint, AnnUnitConverter* converter, int buffer ) |
C++/CLI | |
---|---|
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.
This method is called internally by the AnnEditDesigner.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family