Instance Method

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.

See Also

Marking New Pages

func beginPage(withBounds: CGRect, pageInfo: [String : Any])

Marks the beginning of a new page in the PDF context and configures it using the specified values.