Click or drag to resize

PdfDocumentDispose Method

Closes the PDF file associated with this PdfDocument.

Any PdfDocument that is associated with the PDF file should be closed, otherwise memory and resource leaks might occur because PDF file stream might not be closed until the application exists.


Namespace: SautinSoft.Pdf
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2024.8.8
Syntax
public void Dispose()

Implements

IDisposableDispose
Remarks
This method is used as a convenience so that PdfDocument instance can be used in a using block.
See Also