PeachDrawing.Text

PeachDrawing.Text.Layout.ParagraphBuilder

ParagraphBuilder.SetStyle(ParagraphStyle) Method

Sets how the paragraph as a whole is set.

public PeachDrawing.Text.Layout.ParagraphBuilder SetStyle(PeachDrawing.Text.Layout.ParagraphStyle style);

Parameters

style ParagraphStyle

The paragraph style.

Returns

ParagraphBuilder
This builder.

Exceptions

System.ArgumentOutOfRangeException
The text indent, the hyphenation zone, a hyphenation limit or the most lines is not a finite number in its range, or the hyphenation character is not from 1 to 32 UTF-16 units long, or the ellipsis is longer than 32.