ImageEn, unit iexBitmaps

TIOParams.PS_PaperSize

TIOParams.PS_PaperSize


Declaration

property PS_PaperSize : TIOPDFPaperSize;


Description

Provides a quick way to set PS_PaperWidth and PS_PaperHeight or interpret their current values.

Note: iepAuto CANNOT be used with PS format!


Example

// Save using "US Letter" paper size
ImageEnView1.IO.Params.PS_PaperSize := iepLetter;
ImageEnView1.IO.SaveToFile('D:\output.ps');

// Which is the same as...
ImageEnView1.IO.Params.PS_PaperWidth  := 612;
ImageEnView1.IO.Params.PS_PaperHeight := 792;
ImageEnView1.IO.SaveToFile('D:\output.ps');


See Also

IEPaperSizeToStr
IEStrToPaperSize
IEPointsToPaperSize
IEPaperSizeToPoints