-
Home
-
API
-
Broadside.Viewer
-
SelectableText
-
Methods
-
GetNearestGlyph(PathPoint)
GetNearestGlyph(PathPoint) Method
Definition
Gets the reading position of the glyph nearest a point (on it, or the nearest by GetOffset(PathPoint)'s rule).
public int GetNearestGlyph(PathPoint point)
Parameters
- point
- PathPoint
The point in default user space.
Returns
- Int32
- The position, or -1 when the page has no selectable glyph.