PDFDocument.Save

From Xojo Documentation

Method

PDFDocument.Save(file As FolderItem)

New in 2020r1

Supported for all project types and targets.

Creates the PDF document and saves the graphics and metadata to it.