The EmbeddedFile class represents a file embedded in another document.

Syntax

EmbeddedFile

Introduced: X19.

Methods

Method Description
getCreationDate Gets the file's creation date as a unix timestamp.
getData Gets the file's data as a base64 string.
getDescription Gets an optional file description.
getFileName Gets the file's name.
getLastModificationDate Gets the date the file was last modified as a unix timestamp.
getMIMEType Gets an optional string specifying the file's type using types specified through the Multipurpose Internet Mail Extensions (MIME) specification.
getRelationship PDF/A only.
setCreationDate Sets the file's creation date as a unix timestamp.
setDescription Sets an optional file description.
setLastModificationDate Sets the date the file was last modified as a unix timestamp.
setMIMEType Sets an optional string specifying the file's type using types specified through the Multipurpose Internet Mail Extensions (MIME) specification.
setRelationship PDF/A only.