Skip to content

Instantly share code, notes, and snippets.

@frontweb
Created August 20, 2011 20:03
Show Gist options
  • Save frontweb/1159593 to your computer and use it in GitHub Desktop.
Save frontweb/1159593 to your computer and use it in GitHub Desktop.
for (ListIterator iter = annotsArray.listIterator(); iter.hasNext();)
{
PdfDictionary annot = (PdfDictionary) PdfReader.getPdfObject( iter.next());
PdfString content = (PdfString) PdfReader.getPdfObject(annot.get(PdfName.WIDTH));
if (content != null) {
System.out.println(content);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment