PDF Annotations - Not showing in Chrome & Embedding HTML content

Hello,


Product: Aspose.PDF 6.7.0.0

We are adding TextAnnotation to a PDF document and saving it. (code snippet attached below)

We have two issues/questions:

1) When we open the generated PDF document in Chrome (ver: 51.0), the annotation comment icon is not showing up. If we open the same PDF document in FireFox and IE, the annotation box is showing up properly along with the content. Why is it not showing in Chrome?

2) When we embed HTML content, like a tag, it is showing up as it is and not showing up as a hyperlink in the box. How to show/embed HTML content in annotations?

Please advice.
-------------------------------------

noteAnnotation.Open = false;
System.Drawing.Color noteColor = new System.Drawing.Color();
System.Drawing.Color notePopUpColor = new System.Drawing.Color();
noteColor = System.Drawing.Color.FromArgb(15, 150, 217);
noteAnnotation.Color = Aspose.Pdf.Color.FromRgb(noteColor);
noteAnnotation.Icon = TextIcon.Comment;
Border border = new Border(noteAnnotation);
border.Width = 0;
border.Effect = BorderEffect.None;
noteAnnotation.Border = border;
noteAnnotation.Rect = new Aspose.Pdf.Rectangle(0, 0, 1000, 400);
// Add annotation in the annotations collection of the page
pdfDocument.Pages[1].Annotations.Add(noteAnnotation);
// Save output file
pdfDocument.Save(“output.pdf”);


Hi Raman,


rnidamar:

1) When we open the generated PDF document in Chrome (ver: 51.0), the annotation comment icon is not showing up. If we open the same PDF document in FireFox and IE, the annotation box is showing up properly along with the content. Why is it not showing in Chrome?

I have tested the scenario and noticed that Annotation is not reflecting in Chrome, so logged a ticket PDFNET-41228 for further investigation and rectification.

We have logged an enhancement ticket PDFNET-41230 to add hyperlink in Annotation contents. We will notify you as soon as the issues are resolved.

We are sorry for the inconvenience caused.

Best Regards,