Constructor MailParagraphBlock
- Namespace
- MailFathom.Application.EmailContent.Rendering.Document.Blocks
- Assembly
- MailFathom.Application.dll
MailParagraphBlock(IReadOnlyList<MailInlineRun>, MailBlockAlignment)
Initializes a paragraph.
public MailParagraphBlock(IReadOnlyList<MailInlineRun> content, MailBlockAlignment alignment)
Parameters
contentIReadOnlyList<MailInlineRun>The runs the paragraph holds, in reading order.
alignmentMailBlockAlignmentHow the paragraph places its content across the width it was given.
Exceptions
- ArgumentNullException
Thrown when
contentis null.