Close()
Terminates the PDF document. It is not necessary to call this method explicitly because Output() does it automatically. If the document does not contain any pages, AddPage() is called to prevent the creation of an invalid document.
Output()
AddPage()
Output