Let's say I've loaded a PDF file using iTextSharp:
PdfStamper p = GetDocument();
AcroFields af = ps.AcroFields;
How do I get a list of all field names on the document from af
?
Let's say I've loaded a PDF file using iTextSharp:
PdfStamper p = GetDocument();
AcroFields af = ps.AcroFields;
How do I get a list of all field names on the document from af
?
AcroFields af = ps.AcroFields;
foreach (var field in af.Fields)
{
Console.WriteLine("{0}, {1}",
field.Key,
field.Value);
}
foreach (DictionaryEntry entry in af.Fields) {
Console.WriteLine(entry.Key +" " +entry.Value);
}