We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Presentation to PDF: hyperlink is not opening in new tab

Unable to open hyperlink in new tab.

creating hyperlink for Presentation(Slides) using below code :

IPortion link = new Portion(“Google”);

converting Presentation(Slides) to PDF using below code :

MemoryStream exportStream = new MemoryStream();
presentation.Save(exportStream, saveFormat);

Please let me know how can I create hyperlink in Presentation to open in new tab or convert ppt to pdf which open all hyperlink in new tab.

Welcome to our community! Thank you for the query. You can add hyperlinks to presentations as below:

portion.PortionFormat.HyperlinkClick = new Hyperlink("https://www.google.com/");
portion.PortionFormat.HyperlinkClick.Tooltip = "Google Search";

More examples: Manage Hyperlinks
API Reference: Hyperlink Class

in browser hyperlink is still not opening in new tab with suggested code, it is still opening in same tab where pdf is open.

To investigate this point, could you share a presentation file that PowerPoint converts to PDF format so that the link opens in a new tab, please?