PdfCrossReferenceType
12 Sep 20251 minute to read
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 ofstream. -
table- Specifies the type oftable.