PdfFileStructure
class represents the internal structure of the PDF file.
// Load an existing PDF document
let document: PdfDocument = new PdfDocument(data, password);
// Access the internal file structure of the PDF document
let fileStructure: PdfFileStructure = document.fileStructure;
// Set the cross reference type
fileStructure.crossReferenceType = PdfCrossReferenceType.stream;
// Save the document
document.save('output.pdf');
// Destroy the document
document.destroy();
PdfCrossReferenceType
Gets the cross reference type of the PDF document.
boolean
Gets the boolean flag indicating whether the update is incremental.