PdfReader reader = new PdfReader(inFileName); for (int i = 1; i <= reader.NumberOfPages; ++i) { strPageNumber = i.ToString(); if (intCommentCount >= 5) { break; } PdfDictionary pagedic = reader.GetPageN(i); var thing = reader.GetPageContent(i); string converted = Encoding.UTF8.GetString(thing, 0, thing.Length); PdfArray rectarray = (PdfArray)PdfReader.GetPdfObject(pagedic.Get(PdfName.RECT)); if (rectarray == null || rectarray.Size == 0) { continue; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)