Paragraph(IEnumerable, ParagraphStyle) Constructor

Definition

Assembly Broadside.Layout.dll

Creates a paragraph of inline content with structure type P: runs of text in their own styles, and images.

public Paragraph(IEnumerable<InlineElement> content, ParagraphStyle style)

Parameters

content
IEnumerable<InlineElement>

The runs and images, in order. Runs without a style use style's text style.

style
ParagraphStyle

The paragraph's style: line height, alignment, indent, spacing, and the text style of unstyled runs.