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);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)