<pre> for (int i = 1; i <= reader.NumberOfPages; i++) { PdfDictionary page = reader.GetPageN(i); PdfArray annotsArray = null; if (page.GetAsArray(PdfName.ANNOTS) == null) continue; annotsArray = page.GetAsArray(PdfName.ANNOTS); for (System.util.ListIterator< PdfObject > iter = annotsArray.GetListIterator(); iter.HasNext();) { PdfDictionary annot = (PdfDictionary)PdfReader.GetPdfObject(iter.Next()); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)