[]
type MetadataProperties = object;
Provides options for creating metadata for a PDF document.
optional contributors?: string[];
The list of document contributors. Maps to Dublin Core 'contributor' property.
optional copyright?: string;
The document copyright. Maps to Dublin Core 'rights' property.
optional coverage?: string;
The document coverage. Maps to Dublin Core 'coverage' property.
optional createDate?: Date;
The creation date. Maps to XMP 'CreateDate' property. If not set, the current date/time is used.
optional creators?: string[];
The list of document creators. Maps to Dublin Core 'creator' property.
optional creatorTool?: string;
The creator tool, in PDF/A compatible documents this value should be the same as DocumentInfo.creator.
optional dates?: string[];
The list of document dates. Maps to Dublin Core 'date' property.
optional description?: string;
The document description. Maps to Dublin Core 'description' property.
optional identifier?: string;
The document identifier. Maps to Dublin Core 'identifier' property.
optional keywords?: string[];
The list of document keywords, or subjects. Maps to Dublin Core 'subject' property.
optional languages?: string[];
The list of document languages. Maps to Dublin Core 'language' property.
optional metadataDate?: Date;
The metadata date. Maps to XMP 'MetadataDate' property. If not set, the current date/time is used.
optional modifyDate?: Date;
The modification date. Maps to XMP 'ModifyDate' property. If not set, the current date/time is used.
optional pdfA?: PdfAConformanceLevel;
The PDF/A conformance version.
optional pdfUa?: number | null;
The PDF/UA conformance version. Null indicates that the document is not PDF/UA compliant.
optional producer?: string;
The document's producer. Maps to PDF 'Producer' property.
optional publishers?: string[];
The list of document publishers. Maps to Dublin Core 'publisher' property.
optional readOnly?: boolean;
Indicates whether the metadata is marked as read-only.
optional relations?: string[];
The list of document relations. Maps to Dublin Core 'relation' property.
optional source?: string;
The document source. Maps to Dublin Core 'source' property.
optional title?: string;
The document's title. Maps to Dublin Core 'title' property.
optional types?: string[];
The list of document types. Maps to Dublin Core 'type' property.
optional userProps?: MetadataUserProp[];
The list of document custom properties.