Table of Contents

Method Reduced

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

Reduced(IReadOnlyList<MailDocumentBlock>, int, int, int, int, bool)

Creates the document of a body that was reduced.

public static MailDocument Reduced(IReadOnlyList<MailDocumentBlock> blocks, int removedRemoteReferenceCount, int retainedRemoteImageCount, int inlineImageCount, int undrawnInlineImageCount, bool truncated)

Parameters

blocks IReadOnlyList<MailDocumentBlock>

The blocks, in reading order.

removedRemoteReferenceCount int

How many references to somebody else's server were removed.

retainedRemoteImageCount int

How many remote pictures the reader asked for.

inlineImageCount int

How many of the message's own pictures were inlined.

undrawnInlineImageCount int

How many of the message's own pictures were beyond the bound.

truncated bool

Whether the reduction stopped at a bound.

Returns

MailDocument

The document.

Exceptions

ArgumentNullException

Thrown when blocks is null.