Table of Contents

Method GetHitTestAtTextPoint

Namespace
Alternet.Editor
Assembly
Alternet.Editor.v9.dll

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 Point

Specifies coordinate to check.

hitTestInfo IHitTestInfo

Retrieves 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 int

Specifies horizontal coordinate of text position to check.

y int

Specifies vertical coordinate of text position to check.

hitTestInfo IHitTestInfo

Retrieves information about part of control.