Click or drag to resize
Pdf Library for .NET

PdfDocumentClose Method

Closes the current pdf document.

Namespace:  SelectPdf
Assembly:  Select.HtmlToPdf (in Select.HtmlToPdf.dll) Version: 24.1
Syntax
public void Close()
Remarks
Calling this method will release all the resources allocated by the pdf document.

Important note Important
Always call this method after the document was saved.

Note Note
If the document was created from a stream, the stream will be closed if it was not explicitly detached by calling the DetachStream before the document is closed.
See Also