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

How to retrieve fields and insert text in a pdf

1 Answer 120 Views
PdfProcessing
This is a migrated thread and some comments may be shown as answers.
César
Top achievements
Rank 1
César asked on 04 Sep 2018, 01:27 PM

Hello!

I'm trying to add fields from a database into a pdf like the image attached shows. I already read the FormFieldCollection documentation, but I'm lacking the knowledge to make it work.

 

Can someone please include a code example on how to do this ?

1 Answer, 1 is accepted

Sort by
0
Polya
Telerik team
answered on 07 Sep 2018, 09:13 AM
Hello C├ęsar,

We have a great example that demonstrates how to import a PDF document, modify the values of the interactive forms inside and save it back to the file system: https://github.com/telerik/document-processing-sdk/tree/467f9fd32f95f8c82b96dda50b37e6a7432f042e/PdfProcessing/ModifyForms.
The project uses hardcoded values for the modification. Instead, you could read the data from your database and use these values instead.
Hope this helps.

Regards,
Polya
Progress Telerik

Tags
PdfProcessing
Asked by
César
Top achievements
Rank 1
Answers by
Polya
Telerik team
Share this question
or