Table of Contents

Constructor MailImageBlock

Namespace
MailFathom.Application.EmailContent.Rendering.Document.Blocks
Assembly
MailFathom.Application.dll

Initializes a picture.

public MailImageBlock(MailInlineImage image, MailDocumentLink? link, MailBlockAlignment alignment)

Parameters

image MailInlineImage

The picture itself.

link MailDocumentLink

Where following the picture goes, or null where it goes nowhere.

alignment MailBlockAlignment

How the picture sits across the width it was given.

Exceptions

ArgumentNullException

Thrown when image is null.