Method GetHitTestAtTextPoint
GetHitTestAtTextPoint(Point, IHitTestInfo)
Fills hitTestInfo parameter by information about a part of control at specified text coordinate.
public virtual void GetHitTestAtTextPoint(Point position, IHitTestInfo hitTestInfo)
Parameters
position
PointSpecifies coordinate to check.
hitTestInfo
IHitTestInfoRetrieves information about part of control.
GetHitTestAtTextPoint(int, int, IHitTestInfo)
Retrieves information about part of control at specified text coordinate.
public virtual void GetHitTestAtTextPoint(int x, int y, IHitTestInfo hitTestInfo)
Parameters
x
intSpecifies horizontal coordinate of text position to check.
y
intSpecifies vertical coordinate of text position to check.
hitTestInfo
IHitTestInfoRetrieves information about part of control.