hello,
I have a simple PDF, trying to read the fields of the form using .NET version of the library. Here is the PDF file.
OoPdfFormExample.pdf (64.2 KB)
below is the same code, the fields collection has just 4 fields, but the form has 17 different fields.
Aspose.Pdf.Document pdfDocument = new Aspose.Pdf.Document(dataDir + "OoPdfFormExample.pdf");
Aspose.Pdf.Forms.Field[] fields = pdfDocument.Form.Fields;
// Get values from all fields
foreach (Aspose.Pdf.Forms.Field f in fields)
{
Response.Write("Field Name: " + f.FullName);
Response.Write("<br />");
Response.Write("Value: " + f.Value);
Response.Write("<br />");
Response.Write("===========");
Response.Write("<br />");
}
Can you please help with the solution?
Thanks,
Srimanth