Free Support Forum - aspose.com

How to determine if a paragraph is a FormField

When reading a pdf that has FormFields filled in by a user, is there any way to find out if a paragraph is a FormField? When I create the pdf in the first place, I could use special ids that tell me it is a FormField, but it would be nice to have a code way to find out.

thanks,
Jerry

Hi,

I am not sure I understand your requirements clearly. Can you please elaborate your idea in detail providing examples where possible to explain your requirement.

Thanks.

After reading more of the specs for Aspose.PDF and Aspose.Pdf.Kit I see that you can’t open an already created pdf with Aspose.Pdf, right?

So it looks like we do need Aspose.Pdf.Kit because we need to read answers from filled in pdf forms.

Thanks,
Jerry

Hi,

Yes, that's right. You need Aspose.Pdf.Kit to get Form Fields. Please check the Form class of Aspose.Pdf.Kit.

http://www.aspose.com/Products/Aspose.Pdf.Kit/Api/index.html?url=http://www.aspose.com/Products/Aspose.Pdf.Kit/Api/Aspose.Pdf.Kit.Form.html

Thanks.