Class for a file embedded in PDF.

Inheritance Hierarchy


Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)


public sealed class PdfEmbeddedFile
Public NotInheritable Class PdfEmbeddedFile

The PdfEmbeddedFile type exposes the following members.


Public propertyCreationDate
Gets the date and time when the embedded file was created.
Public propertyMimeType
Gets the MIME media type of the embedded file.
Public propertyModifiedDate
Gets the date and time when the embedded file was last modified.
Public propertySize
Gets the size of the embedded file, in bytes.


Public methodEquals (Inherited from Object.)
Public methodGetChecksum
Gets the MD5 checksum of the embedded file.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodSave(Stream)
Saves the embedded file to the specified stream.
Public methodSave(String)
Saves the embedded file to the file with specified name.
Public methodToString (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.

See Also