PdfMetadata

public final class PdfMetadata

Provides access to PDF document metadata properties including standard document information dictionary fields and XMP metadata. This class allows reading and writing of standard PDF metadata fields such as title, author, subject, and keywords, as well as custom metadata properties. All changes to metadata properties are immediately applied to the underlying PDF document.

Constructors

Link copied to clipboard
public void PdfMetadata()

Functions

Link copied to clipboard
public final String getAuthor()
Gets the name of the person that created the document.
Link copied to clipboard
public final String getCreationDate()
Gets the date and time the document was created.
Link copied to clipboard
public final String getCreator()
Gets the name of the application that created the original document.
Link copied to clipboard
Gets the value of a custom metadata property from the document information dictionary.
Link copied to clipboard
public final String getKeywords()
Gets the keywords associated with the document.
Link copied to clipboard
public final String getModificationDate()
Gets the date and time the document was most recently modified.
Link copied to clipboard
public final String getProducer()
Gets the name of the application that converted the document to PDF.
Link copied to clipboard
public final String getSubject()
Gets the subject of the document.
Link copied to clipboard
public final String getTitle()
Gets the title of the document.
Link copied to clipboard
public final String getXMP()
Gets the XMP metadata stream of the document.
Link copied to clipboard
public final void setAuthor(String value)
Sets the name of the person that created the document.
Link copied to clipboard
public final void setCreator(String value)
Sets the name of the application that created the original document.
Link copied to clipboard
public final void setCustomPDFInformation(String key, String value)
Sets the value of a custom metadata property in the document information dictionary.
Link copied to clipboard
public final void setKeywords(String value)
Sets the keywords associated with the document.
Link copied to clipboard
public final void setProducer(String value)
Sets the name of the application that converted the document to PDF.
Link copied to clipboard
public final void setSubject(String value)
Sets the subject of the document.
Link copied to clipboard
public final void setTitle(String value)
Sets the title of the document.
Link copied to clipboard
public final void setXMP(String value)
Sets the XMP metadata stream of the document.