Orientation
Printing, VCL, document creation
Description
The page orientation of the job, poPortrait by default
poLandscape swaps the configured paper dimensions: PageWidthPoints returns PaperHeight and PageHeightPoints returns PaperWidth, and the page canvas is sized accordingly
Syntax
Delphi
Property TPDFlibPrinter.Orientation: TPrinterOrientation Default poPortrait;Remarks
Assigning the property while a job is active raises EPDFlibPrinter, so one orientation applies to all pages of a job
PaperWidth and PaperHeight keep their portrait values in either orientation