Click or drag to resize

PdfDocumentUnload Method

The method that does exactly the opposite of the Load method.

References to all PdfIndirectObjects whose Values were already parsed from the PDF file associated with this PdfDocument are cleared so they can be parsed again when requested for the first time.

This method also resets all fields of the PdfDocument so they are recreated when requested for the first time.

The PdfDocument is, effectively, reset to the state when it was either last loaded from a PDF file or last saved to a PDF file.

Use this method if you are reading a very large PDF document (with thousands of pages) to free memory necessary for reading additional pages.


Namespace: SautinSoft.Pdf
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2024.8.8
Syntax
public void Unload()
See Also