public sealed class PdfEmbeddedFile
Public NotInheritable Class PdfEmbeddedFile
The PdfEmbeddedFile type exposes the following members.
Gets or sets the date and time when the embedded file was created.
Gets the identifier of this embedded file in this PdfDocument.
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.
|Equals||(Inherited from Object.)|
Gets the MD5 checksum of the embedded file.
|GetHashCode||(Inherited from Object.)|
|GetType||(Inherited from Object.)|
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.
|ToString||(Inherited from Object.)|
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.