PDFGraphics.NextPage
From Xojo Documentation
Method
Adds a new page to the PDFDocument with a width and height that match the last page of the document.
Method
PDFGraphics.NextPage(width As Double, height As Double)
Supported for all project types and targets.
Supported for all project types and targets.
Adds to the PDFDocument a page whose size is defined by the width and height passed.