 | FlavorElementHitTest Method |
Performs an optional hit test on a point within the element's rectangle.
The default implementation returns 'true'.
Namespace:
Ranorex.Core
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxprotected virtual bool HitTest(
Point localPoint
)
Protected Overridable Function HitTest (
localPoint As Point
) As Boolean
Parameters
- localPoint
- Type: System.DrawingPoint
The point in local coordinates.
Return Value
Type:
BooleanReturns true if the point is within the element, otherwise false.
Remarks
This should return 'false' if the point is transparent regarding to mouse clicks.
See Also