Class MailParagraphBlock
- Namespace
- MailFathom.Application.EmailContent.Rendering.Document.Blocks
- Assembly
- MailFathom.Application.dll
One run of a message's body text, drawn as a paragraph.
public sealed record MailParagraphBlock : MailDocumentBlock, IEquatable<MailDocumentBlock>, IEquatable<MailParagraphBlock>
- Inheritance
-
MailParagraphBlock
- Implements
- Inherited Members
Remarks
The block most of a message reduces to. Everything the sender wrote about how the words look travels on the runs rather than here, so a paragraph carries only what is true of the whole of it.
Constructors
- MailParagraphBlock(IReadOnlyList<MailInlineRun>, MailBlockAlignment)
Initializes a paragraph.
Properties
- Alignment
Gets how the paragraph places its content across the width it was given.
- Content
Gets the runs the paragraph holds, in reading order.