PdfBasicJobTicketSchema

6 Jul 20261 minute to read

Represents metadata for print job and production instructions.

// 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 job references
xmpMetadata.basicJobTicketSchema.jobRef = ['JobA', 'JobB'];
// Save the document
document.save('output.pdf');
// Destroy the document
document.destroy();

Properties

Get jobRef string[]

Gets the list of job references (rdf:Bag).

Set jobRef void

Sets the list of job references (rdf:Bag).

Parameter Type Description
value string[] The job references to set.

Get schemaType PdfXmpSchemaType

Gets the schema type.