industrytotal.blogg.se

Foxit phantompdf combine pdf
Foxit phantompdf combine pdf











foxit phantompdf combine pdf

'fadd,pdf and fmain.pdf are the temporay files used in Foxit's functionįileCopy addi, "c:\t2\fadd.pdf" 'temporary file to be merged in temporary folderįileCopy princi, "c:\t2\fmain.pdf" 'temporary main file in temporary folderĬall phCreator.CombineFiles("c:\t2\fmain.pdf|c:\t2\fadd.pdf", "c:\t2\fmain.On 16 April 2020, Foxit Software announced security updates for its two products, namely Foxit Reader and PhantomPDF. Princi = "c:\Temp\mainfile.pdf" 'full path of main file 'In this example c:\Temp is the working folderĪddi = "c:\Temp\filetomerge.pdf" 'full path of file to be merged 'A temporary folder, in this case c:\t2, should be present

foxit phantompdf combine pdf

Here is my solution: Private Sub Command4_Click()ĭim addi As String 'file to be merged to main file It works perfectly, but Foxit adds a table of content page, and I don't know, yet, how to remove it. The renamed files are the then used in the merge function.

foxit phantompdf combine pdf

I copied the files to be merged in a temporary folder and rename them. So I took advantage of the fact that the function works when the file names are in plain text. I tried it, but got the same error message. However, when I try to use variables, I get a When I try it with the complete files names (in bold) the code works perfectly. Set phApp = CreateObject("PhantomPDF.Application") Here is the code I use Dim phApp As PhantomPDF.Application In our program, we have to save multiple pdf files, some of them should be merged in single files when saved. I use Foxit Phantompdf, the complete version and ACCESS.













Foxit phantompdf combine pdf