beginPage()
Marks the beginning of a new page in the PDF context and configures it using default values.
Declaration
func beginPage()Discussion
This function ends any previous page before beginning a new one. It sets the bounds of the new page to the bounds rectangle you supplied when you created the PDF renderer.