HighlightAnnotation support clicks opening browser with url?

is this possible? if so, how?

@chitgoks

The HighlightAnnotation has a property i.e. Hyperlink. We tried to use it with code snippet as the below but it did not work:

Document document = new Document();
document.Pages.Add();
// Create link
Page page = document.Pages[1];
page.Paragraphs.Add(new TextFragment("Sample"));
document.ProcessParagraphs();
TextFragmentAbsorber absorber = new TextFragmentAbsorber("Sample");
page.Accept(absorber);

HighlightAnnotation annot = new HighlightAnnotation(page, absorber.TextFragments[1].Rectangle);
annot.Hyperlink = new WebHyperlink("https://google.com");
annot.Color = Color.Beige;

page.Annotations.Add(annot);

We are collecting related information against this behavior of the API and will get back to you shortly.

@chitgoks

We have logged an issue as PDFNET-51018 in our issue tracking system to further investigate why the required property of the HighlightAnnotation Class is not working. We will further look into its details and keep you posted with the status of its correction. Please be patient and spare us some time.

We are sorry for the inconvenience.