Declaration
procedure SaveToPS();
Description
Saves the current image to a PostScript file opened using
CreatePSFile.
Note:
◼All images in the resulting PostScript file will be aligned to the upper-left corner of the paper.
◼To abort while saving set
Aborting to true
| Demos\PDF\PDFBuilder\PdfBuilder.dpr |
ImageEnView1.IO.CreatePSFile( 'D:\output.ps' );
// load and save page 1
ImageEnView1.IO.LoadFromFile('C:\page1.tiff');
ImageEnView1.IO.Params.PS_Compression := ioPS_G4FAX; // G4Fax compression
ImageEnView1.IO.SaveToPS();
// load and save page 2
ImageEnView1.IO.LoadFromFile('C:\page2.tiff');
ImageEnView1.IO.Params.PS_Compression := ioPS_G4FAX; // G4Fax compression
ImageEnView1.IO.SaveToPS();
...Other pages...
// close PS file
ImageEnView1.IO.ClosePSFile();