Public Enum to define cross reference type.
// Load an existing PDF document
let document: PdfDocument = new PdfDocument(data, password);
// Save the document with cross reference type as stream
document.save('output.pdf', PdfCrossReferenceType.stream);
// Destroy the document
document.destroy();stream - Specifies the type of stream.table - Specifies the type of table.