Open links in pdf in new Tab --> Html to PDF

Hey,
I’m using Aspose.PDF to convert a html string to a pdf File.
Everything is working fine, I just have one question.
When using anchor tags (<a>) is there a way to tell the pdf, that this link should be opened in a new Browser Tab, if the file was opened in a browser.

Simple html would be:

> <a target="_blank" href="http://www.google.at">Google</a>

Any way to Support this in aspose?

Thanks in advance,
BR

@BennyBRI

Thank you for contacting support.

Please note Aspose.PDF for .NET API mimics the behavior of Adobe Acrobat. Please share if you can generate such a PDF file. Also, we have tried to create a HTML document which includes the line shared by you. It opens the link in other tab when clicked from HTML file but if we print this HTML to PDF via Browser but clicking the link from PDF opens it in same tab. So, we are afraid this may not be achieved. However, you can press Ctrl key and click on the link as a workaround for opening it in new tab.

hey,
Thanks for the quick Response!
I was just thinking maybe there is a way with aspose. It’s not that urgent either and with the work around --> no Problem :slight_smile:
Thanks!
BR

@BennyBRI

We are glad to know that suggested workaround is helpful for your requirements. Please feel free to contact us if you need any further assistance.