ImageEn, unit iexHelperFunctions




function CreatePSFromFileList(const sDestFilename : string;
                              ssFileList : TStrings;
                              const aPaperSize : TIOPDFPaperSize;
                              const aCompression : TIOPSCompression;
                              const sTitle : string = '';
                              const bFailOnUnsupportedImage : Boolean = True;
                              const bRaiseExceptions : Boolean = False
                              ) : Boolean;


Generates a PS file from all images specified in a TStrings list, by combining the functions of CreatePSFile, SaveToPS and ClosePSFile.
Result is true unless an error is encountered.

Parameter Description
sDestFilename The .PS filename to save the file to
ssFileList A list of all images to add to the PS file
aPaperSize The size at which to create the PS file
aCompression The level of compression to use
sTitle The title for the PS document
bFailOnUnsupportedImage When true this procedure will fail if unsupported images (or other file types) are found in ssFileList. If false, unsupported file types are skipped
bRaiseExceptions When true this procedure will generate an exception if it fails. If false, you will need to check the result to detect failure



See Also

- TImageEnMIO.SaveToFilePS
- TImageEnIO.SaveToFilePS