How to retrieve fields and insert text in a pdf

2 posts, 0 answers
  1. César
    César avatar
    1 posts
    Member since:
    Sep 2018

    Posted 04 Sep 2018 Link to this post

    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 ?

  2. Polya
    Admin
    Polya avatar
    267 posts

    Posted 07 Sep 2018 Link to this post

    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

Back to Top