Class MailDocumentImages
- Namespace
- MailFathom.Application.EmailContent.Rendering.Document
- Assembly
- MailFathom.Application.dll
Reads how many octets of its own pictures a document carries.
public static class MailDocumentImages
- Inheritance
-
MailDocumentImages
- Inherited Members
Remarks
The document's own bounds hold what one message may inline. This reads what one message actually did, so the read sequencing several messages can spend a budget across them — the same arrangement RemainingCharactersForRead already has for words, and for the same reason: only the code sequencing the call knows what an earlier message already drew.
It is counted in octets rather than in characters because that is what the bound governing it is stated in, and
because a data: URI is a third longer than the picture behind it. Counting the encoding against a character
budget written for words would let one photograph starve the words of the next message in the batch.
Methods
- OctetsBehind(string)
Reads how many octets a composed
data:URI carries, and nothing for a source that is not one.
- OctetsIn(MailDocument)
Reads the octets behind every picture the document carries in itself.