ImgSaveAsPdf

Top  Previous  Next

Prototype

 

boolSaved:=ImgSaveAsPdf(intImageHandle, strFileName)

 

Description

 

Saves an image in PDF format. If file already exists it is overwritten.

 

Parameters

 

intImageHandle: integer value corresponding to the image handle.

 

strFileName: A string containing a valid path and filename.

 

Returned value

 

boolSaved: boolean value that specifies if saving operation was correctly executed.

 

Notes

 

None.

 

Example

 

// Build the file name to use

NewFileName:='c:\images\PDFs\'+ExtractFileName(_CurrentInputFile);

// Save current image in PDF format

ImgSaveAsPdf(_CurrentImage,NewFileName);