Constructor MailImageBlock
- Namespace
- MailFathom.Application.EmailContent.Rendering.Document.Blocks
- Assembly
- MailFathom.Application.dll
MailImageBlock(MailInlineImage, MailDocumentLink?, MailBlockAlignment)
Initializes a picture.
public MailImageBlock(MailInlineImage image, MailDocumentLink? link, MailBlockAlignment alignment)
Parameters
imageMailInlineImageThe picture itself.
linkMailDocumentLinkWhere following the picture goes, or null where it goes nowhere.
alignmentMailBlockAlignmentHow the picture sits across the width it was given.
Exceptions
- ArgumentNullException
Thrown when
imageis null.