Convert to Acroform

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF CoreSuite for .NET (v10)  /  Convert to Acroform

DynamicPDF CoreSuite for .NET (v10) Forum

 Dec 02 2020 7:59 AM
Hi, we have a PDF with prefilled data as a normal PDF file, is there anyway to convert this file to an acroform PDF. So that I can read the form fields and replace using Dynamic PDF.

Our use case is to add the current date to a form field, but the pdf document form fields count is 0 in PDF file while accessing using DynamicPDF.

Thanks,
Rob
 Dec 02 2020 3:29 PM
Posted by a ceTe Software moderator
Hi Rob,

You can easily add a form field to the PDF and set its value using a TextField page element. Here is a link to the documentation:
  TextField
TextField Page Element

The example in the docs shows how to add a TextField to a new PDF, but if you use a MergeDocument instead of Document, you can add the form field to a page on an existing PDF instead.

Thanks,
ceTe Software Support Team
 Dec 03 2020 7:31 AM
Thanks for that info! In our case, there are multiple fields there on the pdf and since the file is not in Acroform format, we are unable to identify the x, y coordinates and add new textfield to the exact position.

Thanks,
Rob
 Dec 04 2020 11:18 AM
Posted by a ceTe Software moderator
Hi Rob,

You can add a LayoutGrid page element to the PDF document pages to visually find the the coordinates you'd need to add form fields. Please review this LayoutGid topic for details.

Thanks,
ceTe Software Support Team

All times are US Eastern Standard time. The time now is 5:27 AM.