Declaration
TIEPageLayout = (ielPortrait, ielLandscape);
Description
When using a
PDF_PaperSize to specify the size of PDF pages, you can optionally
specify portrait or landscape layout.
// Save using A4 Landscape paper size
ImageEnView1.IO.Params.PDF_PaperSize := iepA4;
ImageEnView1.IO.Params.PDF_PaperLayout := ielLandscape;
ImageEnView1.IO.SaveToFile('D:\output.pdf');
// Which is the same as...
ImageEnView1.IO.Params.PDF_PaperWidth := 842;
ImageEnView1.IO.Params.PDF_PaperHeight := 595;
ImageEnView1.IO.SaveToFile('D:\output.pdf');
See Also
◼IEPaperSizeToStr
◼IEStrToPaperSize
◼IEPointsToPaperSize
◼IEPaperSizeToPoints
◼IECalcPaperSize