closePDF()
Closes a PDF document.
Declaration
func closePDF()Discussion
After closing the context, all pending data is written to the context destination, and the PDF file is completed. No additional data can be written to the destination context after the PDF document is closed.