Setting PDF Properties

Setting PDF Properties

Forum member · May 10, 2010
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

Re: Setting PDF Properties

Support · May 10, 2010
Hello, We are able to see the behavior you are telling about and we will forward this issue over to the developers to look into it further. We will post a message as soon as we have some information on this. However if you are evaluating then you can try our V6 Beta and it is working fine. You can get it from our website . Thanks, ceTe Software Support Team.

Re: Setting PDF Properties

Support · May 10, 2010
Hello, We have this issue fixed in our latest v5 product. Can you please send an email to our [^a|mailto:support@cete.com|Support Team^] so that they can give you the latest build dlls which has this fix? Thanks, ceTe Software Support Team.

Re: Setting PDF Properties

Forum member · Oct 21, 2021
Hi, I want to set default Enable scrolling for pdf.Could you please suggest me

Re: Setting PDF Properties

Support · Oct 21, 2021
Hi, Try setting the InitialPageLayout property of Document object to OneColumn. Please refer to the documentation on InitialPageLayout property here and DPDF_PageLayout Enumeration here Thanks, ceTe Software Support Team