PdfXmpSchemaType
6 Jul 20261 minute to read
Enum for supported XMP-Schema types.
// Load an existing PDF document
let document: PdfDocument = new PdfDocument(data);
// Access the document properties
let documentProperties: PdfDocumentProperties = document.getDocumentInformation();
// Gets XMP metadata
let xmpMetadata: PdfXmpMetadata = documentProperties.xmpMetadata;
// Gets the basic schema from the XMP metadata
let basicSchema: PdfBasicSchema = xmpMetadata.basicSchema;
// Gets the schema type
let schemaType: PdfXmpSchemaType = basicSchema.schemaType;
// Save the document
document.save('output.pdf');
// Destroy the document
document.destroy();-
basic- Specifies the type ofbasic. -
basicJobTicket- Specifies the type ofbasicJobTicket. -
custom- Specifies the type ofcustom. -
dublinCore- Specifies the type ofdublinCore. -
pagedText- Specifies the type ofpagedText. -
pdf- Specifies the type ofpdf. -
rightsManagement- Specifies the type ofrightsManagement.