PDFDocument.Landscape

From Xojo Documentation

Property (As Boolean )
aPDFDocument.Landscape = newBooleanValue
or
BooleanValue = aPDFDocument.Landscape

New in 2020r1

Supported for all project types and targets.

If True, the document is in landscape orientation.