Class for a file embedded in PDF.
public sealed class PdfEmbeddedFile
- Inherited Members
File specifications (see PdfFileSpecification) ordinarily refer to files external to the PDF file in which they occur. When a PDF file is archived or transmitted, all external files it refers to must accompany it to preserve the file's integrity.
Embedded files address this problem by allowing the contents of referenced files to be embedded directly within the body of the PDF file. This makes the PDF file a self-contained unit that can be stored or transmitted as a single entity.
Gets or sets the date and time when the embedded file was created.
Gets or sets the MIME media type of the embedded file.
Gets or sets the date and time when the embedded file was last modified.
Gets the size of the embedded file, in bytes.
Gets or sets the value indicating whether this file should be embedded as is, without being compressed.
Gets the MD5 checksum of the embedded file.
Replaces embedded file contents with the provided bytes.
Replaces embedded file contents with contents of the specified stream.
Replaces embedded file contents with contents of the specified file.
Saves the embedded file to the specified stream.
Saves the embedded file to the file with specified name.