Orientation
列印、VCL、文件建立
描述
工作的頁面方向,預設為 poPortrait
poLandscape 會對調已設定的紙張尺寸:PageWidthPoints 傳回 PaperHeight,PageHeightPoints 傳回 PaperWidth,頁面畫布也依此調整大小
語法
Delphi
Property TPDFlibPrinter.Orientation: TPrinterOrientation Default poPortrait;備註
工作進行中指派此屬性會丟出 EPDFlibPrinter,因此一個工作只套用一種方向
無論方向為何,PaperWidth 與 PaperHeight 都保持直向的值