Hi there,
Can you tell me if it is possible to set what version of PDF the final merged pdf writes out too?
For example if I want the final merged PDF to be fully compatible with Adobe Acrobat 5.0 (PDF 1.4) is there a parameter or option I can set to do this?
What version of PDF does Merger write out too by default?
Thank you
Changing the PDF version of the merged PDF
Re: Changing the PDF version of the merged PDF
Support · Jul 26, 2010Hello,
The Merger product will create the PDFs with PdfVersion 1.4 as default. However you can change this to other versions using the PdfVersion enumeration. Below is a sample code for this.
MergeDocument document = new MergeDocument((@"C:\Temp.pdf");
document.PdfVersion = PdfVersion.v1_4;
document.Draw(@"C:\TempOut.pdf");
Thanks,
ceTe Software Support Team.
Re: Changing the PDF version of the merged PDF
Forum member · Jul 27, 2010Does this mean if you merge in a 1.6 or 1.7 PDF file that has elements specific to those specifications (for example interactive fields and such) they will be flattened or optimized so that the final PDF is at least viewable by, for example, Acrobat 5?
Re: Changing the PDF version of the merged PDF
Support · Jul 28, 2010Hello,
When merging a PDF we will retain its version, we merge the PDF as it is. So merging a PDF with version 1.7 will give the output PDF also with v1.7. If you set the PDF version to a lower version through code then the latest features may not work properly.
Thanks,
ceTe Software Support Team.