PeachDrawing.Text

PeachDrawing.Text.Layout.ParagraphBuilder

ParagraphBuilder.PushRun(RunStyle) Method

Starts a run: the text added until the matching PopRun() is set in style.

public PeachDrawing.Text.Layout.ParagraphBuilder PushRun(PeachDrawing.Text.Layout.RunStyle style);

Parameters

style RunStyle

The style of the run.

Returns

ParagraphBuilder
This builder.

Exceptions

System.ArgumentNullException
The style has no typeface.

System.ArgumentOutOfRangeException
The size is not a positive, finite number, or a spacing is not finite.