Closes this document. This method should be called after you are done working with the document. After this call the document is considered closed and none of its methods should be called.
Note: Do not call this method if the page returned by PdfDocument.StartPage(.PageInfo) is not finished by calling PdfDocument.FinishPage(.Page).