Hi,
At present, my code can access a .pdf file and read a few properties.
Question:
How is it possible to extend my c# code so that I can read the text inside txtLastname control which is on the second page of the .pdf file?
Thanks
Existing code:
Code:PdfReader reader = new PdfReader(@"D:\test.pdf"); // total number of pages int n = reader.NumberOfPages; // size of the first page Rectangle psize = reader.GetPageSize(1); // file properties Dictionary<string, string> infodict = reader.Info; foreach (KeyValuePair<string, string> kvp in infodict) Console.WriteLine(kvp.Key + " => " + kvp.Value);


Reply With Quote