PdfMetadataXmp

Properties

NameType
creatorToolstring
createDatestring
modifyDatestring
metadataDatestring
producerstring
keywordsstring
titlestring
creatorsstring
descriptionstring

Example

import type { PdfMetadataXmp } from '@pdf-generator/client'

// TODO: Update the object below with actual values
const example = {
  "creatorTool": PdfGen,
  "createDate": null,
  "modifyDate": null,
  "metadataDate": null,
  "producer": PdfGen,
  "keywords": invoice, pdf,
  "title": Invoice,
  "creators": Acme Corp,
  "description": Monthly invoice PDF,
} satisfies PdfMetadataXmp

console.log(example)

// Convert the instance to a JSON string
const exampleJSON: string = JSON.stringify(example)
console.log(exampleJSON)

// Parse the JSON string back to an object
const exampleParsed = JSON.parse(exampleJSON) as PdfMetadataXmp
console.log(exampleParsed)

[Back to top] [Back to API list] [Back to Model list] [Back to README]