ImgSaveAsPdfEx

Top  Previous  Next

Prototype

 

BoolValue:=ImgSaveAsPdfEx(intImageHandle,strFileName,strDocInfo,intJPEGQFactor,boolPDFA)

 

Description

 

Save an image in pdf format specifying document information (separated by carriage return) and JPEG compression (if the image is gray/color).

 

Parameters

 

HandleImage: integer value corresponding to image handle.

 

FileName: path and filename of output image.

 

strDocInfo: string corresponding to document information (separated by carriage return)

 

intJPEGQFactor: integer value corresponding to JPEG compression.

 

boolPDFA: boolean value corresponding file output format: PDF(False) or PDF/A (True)

 

Returned Value

 

None

 

Notes

 

None.

 

Example

 

// open tif image

image:=ImgOpen('c:\immagini\1.tif',0);

 

//save image as pdf

ImgSaveAsPdfEx(image,'c:\immagini\1.pdf','',80);

 

//delete image from memory

imgDelete(image);