Class EmbeddedAttachmentPicture
- Namespace
- MailFathom.Application.Emails.Extraction.Attachments
- Assembly
- MailFathom.Application.dll
One picture a document carries, copied out of it so a model can read what it holds.
public sealed record EmbeddedAttachmentPicture : IEquatable<EmbeddedAttachmentPicture>
- Inheritance
-
EmbeddedAttachmentPicture
- Implements
- Inherited Members
Remarks
The octets are a sender's, and they are held only between the read and the describing call: nothing stores them, logs them, or hands them anywhere but the describer, which applies every refusal it applies to an image attachment.
Constructors
- EmbeddedAttachmentPicture(int, string, ReadOnlyMemory<byte>)
One picture a document carries, copied out of it so a model can read what it holds.
Properties
- MediaType
The media type read from the picture's own header rather than from anything the document declared.
- Octets
The picture exactly as the document stores it, never decoded here.
- PageNumber
The one-based page, slide, or sheet the picture sits on, matching the number of the segment it belongs to.