Namespace: BitMiracle.Docotic.Pdf
public sealed class PdfEmbeddedFile
Public NotInheritable Class PdfEmbeddedFile
The PdfEmbeddedFile type exposes the following members.
Name | Description | |
---|---|---|
![]() | CreationDate |
Gets or sets the date and time when the embedded file was created.
|
![]() | Id |
Gets the identifier of this embedded file in this PdfDocument.
|
![]() | MimeType |
Gets or sets the MIME media type of the embedded file.
|
![]() | ModifiedDate |
Gets or sets the date and time when the embedded file was last modified.
|
![]() | Size | Gets the size of the embedded file, in bytes. |
![]() | WriteWithoutCompression |
Gets or sets the value indicating whether this file should be embedded as is, without
being compressed.
|
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | GetChecksum |
Gets the MD5 checksum of the embedded file.
|
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | ReplaceWith(Byte[]) |
Replaces embedded file contents with the provided bytes.
|
![]() | ReplaceWith(Stream) |
Replaces embedded file contents with contents of the specified stream.
|
![]() | ReplaceWith(String) |
Replaces embedded file contents with contents of the specified file.
|
![]() | Save(Stream) |
Saves the embedded file to the specified stream.
|
![]() | Save(String) |
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.