ImageEn, unit iexBitmaps

TIOParams.PS_PaperWidth

TIOParams.PS_PaperWidth


Declaration

property PS_PaperWidth: Integer


Description

Specifies the width of the page in "PostScript points" (1 point = 1/72 of inch). Default values are width: 595 and height: 842 (A4 format).
Alternatively, you can use PS_PaperSize.

Common values:
Paper Size PS_PaperWidth PS_PaperHeight
A0 2380 3368
A1 1684 2380
A2 1190 1684
A3 842 1190
A4 595 842
A5 421 595
A6 297 421
B5 501 709
US Letter (8.5 x 11") 612 792
US Legal (8.5 x 14") 612 1008
US Ledger (17 x 11") 1224 792
US Tabloid (11 x 17") 792 1224


Example

// Save using "US Letter" paper size
ImageEnView1.IO.Params.PS_PaperWidth := 612;
ImageEnView1.IO.Params.PS_PaperHeight := 792;
ImageEnView1.IO.SaveToFile('D:\output.ps');