Class Paragraph
- Namespace
- SoftZenPdf.Layout
- Assembly
- SoftZenPdf.dll
A paragraph: runs of text, images and fields, wrapped into lines.
public sealed class Paragraph : Block
- Inheritance
-
Paragraph
- Inherited Members
Constructors
- Paragraph()
Creates an empty paragraph.
- Paragraph(string, TextStyle?)
Creates a paragraph with one run of text.
Properties
- Inlines
The content, in reading order.
- Marker
A list marker, such as
•or3., drawn before the first line in the hanging indent.
- OutlineLevel
A bookmark level from 1 (top) to 9 for headings; 0 (the default) adds no bookmark.
- Style
Alignment, indents, spacing and page-break control.
- TextStyle
The style of runs without their own, of the list marker, and of an empty paragraph's line. null uses the document's default.
Methods
- Add(Inline)
Appends an inline element.
- Add(string, TextStyle?)
Appends a run of text;
\nintextbecomes a line break.