Hi There,
I am trying to get all Pdf fields (textbox, checkbox, date etc). When I tried following code I am getting 4 fields only. Am I missing something?
Aspose.Pdf.dll
Version: 9.9.0.0
Code:
public static void Main(string[] args)
{
Document pdfDocument = new Aspose.Pdf.Document("..//template.pdf");
//get values from all fields
foreach (Field formField in pdfDocument.Form)
{
Console.WriteLine("Field name : {0} ", formField.PartialName);
}
Console.ReadLine();
}
Result:
Filed name: Petitioner
Filed name: Respondent
Filed name: No
Filed name: Calendar
I have attached template.pdf file.
Thanks
John