[]
Use this function passing in a specific pixel location relative to the top-left location of the layout box and obtains the information about the correspondent hit-test metrics of the text string where the hit-test has occurred.
public override C1TextLayout.HitTestInfo HitTest(double x, double y)
Public Overrides Function HitTest(x As Double, y As Double) As C1TextLayout.HitTestInfo
| Type | Name | Description |
|---|---|---|
| double | x | The pixel location X to hit-test, relative to the top-left location of the layout box. |
| double | y | The pixel location Y to hit-test, relative to the top-left location of the layout box. |
| Type | Description |
|---|---|
| C1TextLayout.HitTestInfo | Returns C1.Document.Util.C1TextLayout.HitTestInfo contains information about hit test. |