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

Free Support Forum - aspose.com

How to add hyperlinks in TextFrameEx?

The following code works perfectly in PPT for creating an external hyperlink:

Dim tLink As Link = cell.TextFrame.AddLink

tLink.Begin = cell.TextFrame.Text.IndexOf(“Link”)
tLink.End = tLink.Begin + “Link”.Length

However this does not work with TextFrameEx, as there is no ‘addlink’ method. I cannot find any documentation on how to accomplish this either.

Dear Clayton,

The hyperlinks in PPTX can be added by using HyperlinkEx class. In PPTX, the hyperlinks for text are added at portion level and also on shape level using ShapeEx objects. Please proceed to this thread link where by you will find the code snippet for adding hyperlinks in PPTX.

Thanks and Regards,

That did the trick, thank you!

There was nothing on the documentation pages about how to do this, it might be helpful to other customers to add the new API for PPTX there.

Hi Clayton,

Thanks for the suggestion.

We have added such topic in Aspose.Slides for .NET online documentation at the following URL:


Best Regards