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.PdfAssembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2025.11.10
SyntaxImplements
IDisposableDispose
Remarks
This method is used as a convenience so that
PdfDocument instance can be used in a
using block.
See Also