ImgSaveAsPdfSerchable

Top  Previous  Next

Prototype

 

ImgSaveAsPdfSearchable(HandleImage, FileName, StrInfo, intJPEG, StrXML, boolPDFA)

 

Description

 

Save an image as PDF adding hidden searchable text.

 

Parameters

 

HandleImage: integer value corrisponding to image handle.

 

FileName: path and filename of output file.

 

StrInfo: info PDF string.

 

intJPEG: JPEG (0-100) factor if image is color image

 

StrXML: XML text to insert in file

 

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

 

Returned Value

 

None

 

Notes

 

The info PDF string can have the following information separated by #13:

Title

Author

Object

Keyword

Author.

 

Example

 

//Save in TextXML file pdf content

 

// open tif image

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

 

//Crea il Pdf searchable

ImgSaveAsPdfSearchable(image,'c:\immagini\new.pdf', '',80, TextXML);

 

//cancella l'immagine dalla memoria 

imgDelete(image);