PDFDocument.Constructor(width As Double, height As Double)

From Xojo Documentation

Constructor

PDFDocument.Constructor(width As Double, height As Double)

Creates a PDFDocument where the page size is based width and height passed.