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
blocksIReadOnlyList<MailDocumentBlock>The blocks, in reading order.
removedRemoteReferenceCountintHow many references to somebody else's server were removed.
retainedRemoteImageCountintHow many remote pictures the reader asked for.
inlineImageCountintHow many of the message's own pictures were inlined.
undrawnInlineImageCountintHow many of the message's own pictures were beyond the bound.
truncatedboolWhether the reduction stopped at a bound.
Returns
- MailDocument
The document.
Exceptions
- ArgumentNullException
Thrown when
blocksis null.