ImageEn, unit iemio

TImageEnMIO.SaveToFilePS

TImageEnMIO.SaveToFilePS


Declaration

procedure SaveToFilePS(const FileName: string; SelectedOnly: Boolean = False);


Description

Creates a multi-page PostScript file with all images in the attached TImageEnMView or TIEMultiBitmap.
If SelectedOnly = True and the component is attached to a TImageEnMView then only the selected images are output to file.
The size of each page will be specified by: PS_PaperWidth and PS_PaperHeight.

Note:
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

// load a multipage TIFF and save back to a multipage PostScript file
ImageEnMView.MIO.LoadFromFile('C:\multipage.tiff');
ImageEnMView.MIO.SaveToFilePS('D:\output.ps');