ImageEn, unit imageenio

TImageEnIO.ClosePSFile

TImageEnIO.ClosePSFile


Declaration

procedure ClosePSFile();


Description

Closes a PostScript file opened using CreatePSFile.


Demo

Demo  Demos\InputOutput\PDFBuilder\PdfBuilder.dpr


Example

ImageEnView1.IO.CreatePSFile( '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;


See Also

- CreatePSFile
- SaveToPS