Extract annotation text


Attached pdf has 3 annotations. Is there any direct method to extract only the annotation title / text from this pdf or how to extract the annotation title? .Please help on this.

Thanks in advance

Test.pdf (51.5 KB)

You can visit all annotations on a PDF page as shown in the Annotation sample:


PDF annotations don’t have title but you could use the following methods:

annot.GetSubject() - for markup annotations - cast the annotation to a Markup annot.

For more info please see: