ImageEn, unit imageenio

TImageEnIO.SaveToFilePS

TImageEnIO.SaveToFilePS


Declaration

procedure SaveToFilePS(const FileName: WideString);


Description

    Saves the current image to a file in PostScript format.
FileName is the file name including extension.

Note:
The created file will have only one page. See CreatePSFile to create multi-page PS files.
If an internal save error is encountered Aborting will return true. Saving issues due to insufficient write permissions and disk write failures will raise an exception.
To abort while saving set Aborting to true


Example

ImageEnView1.IO.LoadFromFile('D:\input.bmp');
ImageEnView1.IO.SaveToFilePS('D:\output.ps');