PDFsharp & MigraDoc Foundation http://forum.pdfsharp.com/ |
|
PdfDocument Acroform is null after AddPage to concatenate http://forum.pdfsharp.com/viewtopic.php?f=2&t=4346 |
Page 1 of 1 |
Author: | joshihrn1990 [ Thu Jun 02, 2022 9:48 pm ] |
Post subject: | PdfDocument Acroform is null after AddPage to concatenate |
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! |
Author: | TH-Soft [ Fri Jun 03, 2022 7:13 am ] |
Post subject: | Re: PdfDocument Acroform is null after AddPage to concatenat |
joshihrn1990 wrote: I am using PDFSharpCore 1.3.9 library. Do you get the same results when using our library?
|
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |