---
title: "PathControlPoint..::.HitTest Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_PathControlPoint_HitTest_2_ef81c9eb.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# PathControlPoint.HitTest Method 
 
Checks if the specifed point is this control point.
 
**Namespace:** [Aurigma.GraphicsMill.WinControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.WinControls.VectorObjects (in Aurigma.GraphicsMill.WinControls.VectorObjects.dll)
 
## Syntax
  
```
Public Overrides Function HitTest ( _point As Point, _coordinateMapper As ICoordinateMapper _
) As Boolean
```
 
```csharp
public override bool HitTest(Point point,ICoordinateMapper coordinateMapper
)
```
 
### Parameters
 
 - point
     - Type: [System.Drawing.Point](http://msdn2.microsoft.com/en-us/bk9hwzbw)
The point to check.

 - coordinateMapper
     - Type: [Aurigma.GraphicsMill.WinControls.ICoordinateMapper](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_ICoordinateMapper.htm.md)
An object that provides methods for mapping workspace coordinates to control ones.
 
### Return Value
 **true**, if the point is this control point; otherwise, **false**.
 
## Remarks
  
As the control point does not know anything about control scroll bars position and its zoom, it simply uses the specifed coordinateMapper to transform its own (workspace) coordinates to control coordinates.
   
## See Also

### Reference

- [PathControlPoint Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_PathControlPoint.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
