GetNearestGlyph(PathPoint) Method

Definition

Assembly Broadside.Viewer.dll

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.