Close

Close()

Description

Terminates the PDF document. It is not necessary to call this method explicitly because Output() does it automatically.
If the document contains no page, AddPage() is called to prevent from getting an invalid document.

See also

Output().
Index