Hello Team,
I am using PDFSharpCore 1.3.9 library.
I have two PDF documents. Both with a single page. I am trying to concatenate these two PDF document using below code
Here OutputDocument is first PDF and input is second PDF to be merged.
Code:
foreach (var page in input.Pages)
{
// Add it to the output document.
outputDocument.AddPage(page, AnnotationCopyingType.DeepCopy);
}
return outputDocument;
After merge is done, I am only able to get acroform fields for the first page which is first document and not for the second one. I think somehow AddPage is making Acroform of document to be merged as null. Am I missing something here?
Thank you for your help!