This is a migrated thread and some comments may be shown as answers.

Value cannot be null parameter name: context

1 Answer 636 Views
PdfProcessing
This is a migrated thread and some comments may be shown as answers.
Remzy
Top achievements
Rank 1
Remzy asked on 06 Dec 2019, 03:41 PM | edited on 27 Dec 2021, 07:01 PM
create a fixedReadonly doc by importing readonly pdf
create a fixedFillable doc by importing fillable pdf
fixedReadonly.Merge(fixedFillable) 

pdfformatprovider.export(fixedReadonly) throws the error below.
but vice versa works.
but i need the fixedReadonly pages and then the fixedFillable pages in the exported pdf.

any idea?

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 10 Dec 2019, 11:08 AM

Hi Remzy,

This looks like a known issue. You can track its progress, subscribe to status changes and add your comment to it here (there is a workaround as well): PdfProcessing: Form Fields are not copied when merging documents.

Another approach would be to use PdfStreamWriter. You should not get an exception in with it.  

I hope this helps. Should you have any other questions do not hesitate to ask.

Regards,
Dimitar
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
PdfProcessing
Asked by
Remzy
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or