PeachDrawing.Text
PeachDrawing.Text.Layout.LineFlow
LineFlow.GetIndent(FlowCursor) Method
How far the line that starts at cursor is indented by the paragraph’s TextIndent: the first line, the lines after a forced break, and the other lines, as the style says. A caller that follows the style passes this as the Indent of the line’s space.
public double GetIndent(in PeachDrawing.Text.Layout.FlowCursor cursor);
Parameters
cursor FlowCursor
A cursor of this paragraph’s flow.
Returns
System.Double
The indent, in layout units.
Exceptions
System.ArgumentException
The cursor is beyond the end of the text.