Constructor Paragraph

Namespace
SoftZenPdf.Layout
Assembly
SoftZenPdf.dll

Paragraph()

Creates an empty paragraph.

public Paragraph()

Paragraph(string, TextStyle?)

Creates a paragraph with one run of text.

public Paragraph(string text, TextStyle? style = null)

Parameters

text string

The text; \n starts a new line within the paragraph.

style TextStyle

The run's style; null uses TextStyle.