How to get specific types from AcroFields? Like PushButtonField, RadioCheckField, etc

Why can't I cast the AcroField to the specific type?

How to fill out a pdf file programmatically? (AcroForm technology)

What techniques available to fill a PDF form automatically using external data and save them.
I have to use data from a database to fill a template PDF and save a copy of it on disk with that data. Language and platform is not issue but it would be good if it can run on windows and Linux.

How to fill out a pdf file programmatically? (Dynamic XFA)

I have a dynamic XFA Form that I can fill out manually using Adobe Acrobat on my computer. Using iTextSharp I can read what the XFA XML data is and see the structure of the data. I am essentially trying to mimic that with iText.

How to add a new form from an existing pdf template?

I want create a PDF template from another template.
The resulting PDF should still be a template that I can fill out with data.
I tried using PdfStamper but the resulting PDF is not template.

How can I add a new AcroForm field to a PDF?

I have used iText to fill data into existing AcroForm fields in a PDF.

I am now looking for a solution to add new AcroForm fields to a PDF. Is this possible with iText? If so, how can I do this?

How to add an image to an AcroForm field?

I'm trying to fill out a PDF form using the AcroFields class.
I'm able to add text data perfectly, but I'm having issues adding images.
How is this done?

How to align AcroFields?

I'm using iText to populate the data to PDF templates, which are created in OpenOffice. The form is populating fine; I'm getting proper PDF, but I want to change the alignment of some fields.

How to change the text color of an AcroForm field?

When I change the text color for a field it does not change. Why is that?

Is it safe to remove XFA?

Are there any issues that can come up of removing the XFA format from a PDF form?

How to create a complex PDF document?

I have an Java/Java EE based application wherein I have a requirement to create PDF certificates for various services that will be provided to the users.

Still have questions? 

We're happy to answer your questions. Reach out to us and we'll get back to you shortly.

Contact us
Stay updated

Join 11,000+ subscribers and become an iText PDF expert by staying up to date with our new products, updates, tips, technical solutions and happenings.

Subscribe Now