SaveImages Method
Save images to folder.
Object.SaveImages(@laImages, lcFolder)
Parameters
laImages
Specifies the name of the array which contains informations about images.
lcFolder
Folder for saving images. Image file name is folded from page number, image id and default extension. Mask image file name is folded from page number, image id, "msk" text with dot and default extension.
If was image save to file, then fifth column in array laImages was set to .T.
If was soft mask image save to file, then sixth column in array laImages was set to .T.
Return value
Boolean
Return.T. if images save to file, .F. or not.
Remarks
Applies To: PDF#READER
XFRX version: 19.0
Examples
m.loPDFR = EVALUATE([xfrx("PDF#READER")]) *m.loPDFR.SetPasswords("owner","user") && set password for pdf file m.lcFile="BASE-UNI.pdf" IF m.loPDFR.openDocument(m.lcFile) < 0 RETURN ENDIF m.lnError=m.loPDFR.ReadDocument() LOCAL ARRAY m.laIMGS(1) LOCAL m.liImages m.liImages=m.loPDFR.GetListImages(-1, @m.laIMGS) * save all images to folder m.loPDFR.SaveImages(@m.laIMGS, "c:\temp\xx\") m.loPDFR.closeDocument()