The following example shows how to get document info:
// Create an instance of Parser classusing(Parserparser=newParser(filePath)){// Get the document infoIDocumentInfoinfo=parser.GetDocumentInfo();Console.WriteLine(string.Format("FileType: {0}",info.FileType));Console.WriteLine(string.Format("PageCount: {0}",info.PageCount));Console.WriteLine(string.Format("Size: {0}",info.Size));}