PeachDrawing.Text

PeachDrawing.Text.Layout.ParagraphLayout

ParagraphLayout.PositionAt(PointF) Method

Finds the text position nearest a point.

public PeachDrawing.Text.Layout.TextPosition PositionAt(System.Drawing.PointF point);

Parameters

point System.Drawing.PointF

A point in the layout’s coordinates; one outside the text gives the nearest edge.

Returns

TextPosition
The position, at a boundary between two characters that a reader sees as one unit.

Exceptions

System.ArgumentOutOfRangeException
A coordinate of the point is not a number.