PDF popup annotation not rendered


I’m trying to capture screenshots of the annotated parts in a document and save them as separate pictures. The code I’m about to post works fine except for sticky note/popup annotations. They don’t seem to get rendered and shown.
Annot_Image1 is the highlight annotation which is shown correctly. Annot_Image2 and 3 are the annotation but the popup is invisible.
Attached you can find the PDF document I’m testing on, the view in a PDF viewer and the output of the C# code.
How can I get this annotation to render properly so I can capture it in an image?

Best regards,

lorem-ipsum.pdf (77.8 KB)
Annot_Image1.png (8.5 KB)
Annot_Image2.png (3.5 KB)
Annot_Image3.png (26.9 KB)
pdf_viewer_image.png (29.1 KB)
Form1.zip (835 Bytes)


We were able to replicate the issue using Aspose.PDF for .NET 20.9 in our environment and logged it as PDFNET-48737 in our issue tracking system. We will further look into its details and keep you posted with the status of its rectification. Please be patient and spare us some time.

We are sorry for the inconvenience.

1 Like