I'm creating a 2 page PDF document using two separate PDF documents.
MergeDocument document = new MergeDocument();
PdfDocument pdfdoc = new PdfDocument(@"Page1.pdf");
document.Append(pdfdoc);
ImportedPage 2ndPDFPage = new ImportedPage(@"Page2.pdf", 1);
document.Pages.Add(2ndPDFPage);
document.Draw(@"FinalPDF.pdf");
Some of the fields in both pages have the same field name. The final PDF document renames the duplicate fields in the 2nd page to include
a parentheses(2). So for example,
Page 1 has field named description
Page 2 (which has a field named "description" also ) will result in a field being renamed description(2)
in the final PDF file.
Is there a way to prevent that other then making sure there are no similar field names in both Pages?