PeachDrawing.Text

PeachDrawing.Text.Layout.Paragraph

Paragraph.Layout(double) Method

Lays the paragraph out at a width.

public PeachDrawing.Text.Layout.ParagraphLayout Layout(double availableWidth);

Parameters

availableWidth System.Double

The width lines may fill, in layout units, or System.Double.PositiveInfinity for lines that break only where they are forced to.

Returns

ParagraphLayout
The lines, in an immutable snapshot.

Exceptions

System.ArgumentOutOfRangeException
availableWidth is negative or not a number.