PdfXmpSchema
6 Jul 20261 minute to read
Represents core XMP metadata properties for a PDF document.
// Load an existing PDF document
let document: PdfDocument = new PdfDocument(data, password);
// Access the document properties
let documentProperties: PdfDocumentInformation = document.getDocumentInformation(false);
// Gets XMP metadata
let xmpMetadata: PdfXmpMetadata = documentProperties.xmpMetadata;
// Sets creator tool
xmp.basicSchema.creatorTool = 'MyApp 1.0';
// Save the document
document.save('output.pdf');
// Destroy the document
document.destroy();Properties
Get schemaType PdfXmpSchemaType
Gets the schema type.