We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to Get Field Attributes

I need to be able to open up an existing PDF form and retrieve all of the information about every field on the form. Can I do this with Aspose.Pdf.Kit (which we have)? I've found the FieldsNames method, but that only returns the names of all the fields. I need to be able to get information like the height, width, location, etc. Also, I need to be able to retrieve a list of all the options (item and export value) associated with combo boxes, check boxes, etc. I've seen where I can set this information when adding a new field, or change it on an existing field, but how can I retrieve it from an existing field?



Dear Todd,

Thanks for your considering Aspose.Pdf.Kit.

Presently only several attributes can be obtained from Form class. For example, Form.FieldsNames gets all the fields' names, Form.GetFieldFlag returns the field's flag, while Form.GetFieldType returns the field's type.

We can surely get other field attributes. Please describe your requirement in detail. We are planning to add such interfaces for your convenience.

Best regards.