Hi,
im Using Merger/Generator V5 ActiveX and i have that problem:
In my VB6 program I’m merging several PDFs to one PDF like that.
Set MyDocument = CreateObject("DynamicPDF.Document")
MyDocument.AppendPdf “c:\Temp\1.pdf”
MyDocument.AppendPdf “c:\Temp\2.pdf”
MyDocument.AppendPdf “c:\Temp\3.pdf"
MyDocument.Author = "Me" ‘ to set the authio of the resulting PDF
MyDocument.Title = "Final" ‘to set the title of the resulting PDF
MyDocument.DrawToFile “c:\Temp\result.pdf”
1.pdf, 2.pdf and 3.pdf have different authors and titles.
When I open „result.pdf“ in acrobat reader V9 i expect to see the document author and title which I set after the append commands.
But it shows me author and title of the last appended file.
I tried it even using MergeOption object like that:
Set MyDocument = CreateObject("DynamicPDF.Document")
MyDocument.Author = "Me" ‘ to set the authio of the resulting PDF
MyDocument.Title = "Final" ‘to set the title of the resulting PDF
Set MgOptions = CreateObject( "DynamicPDF.MergeOptions" )
MgOptions. DocumentInfo =false ‚ also with MgOptions. DocumentProperties=false
MyDocument.AppendPdf “c:\Temp\1.pdf”,,, MgOptions
MyDocument.AppendPdf “c:\Temp\2.pdf”,,, MgOptions
MyDocument.AppendPdf “c:\Temp\3.pdf”,,, MgOptions
MyDocument.Author = "Me" ‘ to set the authio of the resulting PDF
MyDocument.Title = "Final" ‘to set the title of the resulting PDF
MyDocument.DrawToFile “c:\Temp\result.pdf”
But the „result.pdf“ still does not include my author and title settings.
Only when using “MgOptions.SetNone“ the „result.pdf“ includes my author and title settings !!! but a lot of content is lost.
Is there a bug or where is the error ?
Regards