Hi,
We are using Aspose.Words for .NET component to fill data in predefined .doc templates, what we do for example is, when the user wants to create a reference letter, after the user selects the employee and the document desired, he can generate the document, the document contains place holders which are fill out in run time with data content, or by merging others templates into the main document. Basically the job is find and replace placeholders with some source data.
Now that we want is to extend our application by no only manipulate Microsoft Words docs, but PDFs as well, I mean having some predefine PDFs and being able to find and replace and do the same as we do actually, earlier mentioned.
It is important to mention that most of the examples I’ve seen of Aspose.Pdf is that the document pdf is created from scratch in run time, and then all the data is written from beginning to end. But we are interested more in manipulate existing templates, filling some data in paceholder or merging some other pdf in those templates.
My question to you are:
- Is it possible to accomplish this?
- What component do I need to obtain from you.?
Thanks and regards.
Josue
Somebody from the Apose crew can please answer my question.
Thanks and regards,
Josue
Hello Josue,
I'm extremely sorry for replying you so late.
Your understanding regarding Aspose.Pdf is correct. This component is used to generate PDF documents from scratch. Whereas we've another component named Aspose.Pdf.Kit which is used to manipulate/edit existing PDF documents. As per your requirement, you can generate a template PDF document just like some PDF Form and fill in the data at runtime using that component.
You can use Aspose.Pdf to create a PDF form document or even can use Aspose.Pdf.Kit to edit any existing PDF document and add some form fields over it.
For information on how to create a PDF Form using Aspose.Pdf for .NET, please visit Manipulating Form Fields (Only Aspose.Pdf for .NET supports addition of Form fields when creating PDF document)
For information on how to add form fields using Aspose.Pdf.Kit for .NET, please visit Fill PDF Form and Form Fields
I would suggest you to visit the following link and have a look over a technical article which explains similar steps on creating multiple PDF documents at runtime based on a same format. May be it can help you out with your requirement. Read Database, Create PDF and send it as an attachment with email
In case it does not satisfy your requirement or you have any further query, please feel free to contact.