Skip to main content

metadata object

A metadata object represents the metadata of a document and provides the following properties.


title (string)

Returns the document title as defined in the metadata of a document.

Example:

document.metadata.title = "Contract"

languages (sequence of strings)

Returns the list of languages specified in the metadata of a document.

Example:

document.metadata.languages = ["en","de","fr"]

authors (sequence of strings)

Returns the list of authors defined in the metadata of a document.

Example:

document.metadata.authors = ["John Doe","Jane Doe"]

subject (string)

Returns the subject of a document as specified in the metadata.

Example:

document.metadata.subject = "Legal Agreement"

keywords (sequence of strings)

Returns the keywords associated with a document.

Example:

document.metadata.keywords = ["contract","legal","agreement"]

creator (string)

Returns the name of the application or tool that originally created a document.

Example:

document.metadata.creator = "Microsoft Word"

producer (string)

Returns the name of the application or tool that produced the final version of a document (e.g., after processing or conversion).

Example:

document.metadata.producer = "axesFlip"

modificationDate (string)

Returns the date and time when a document was last modified, as specified in the metadata.

Example:

document.metadata.modificationDate = "2026-05-20T14:30:00Z"

creationDate (string)

Returns the date and time when a document was originally created, as specified in the metadata.

Example:

document.metadata.creationDate = "2026-05-18T09:15:00Z"