Free Support Forum - aspose.com

Enumerate fields in a PDF

Is there a way to enumerate the fields in a PDF so I can automate the filling of fields?

Filling the fields is not a problem, but I need to find the field names programatically so I can fill fields on any form.

I am using VB.Net

Thanks.

Dear Bobhead,

Thanks for considering Aspose.Pdf.Kit.

1)Get all the fields' names, you can use this API FieldsNames.

2) With the class Form , you can get the field value with GetField, fill the field with FillField.

3)More useful examples are in the wiki about Fill PDF Form and Form Fields.

Best regards.