Aspose slides returns the display text of a hyperlink as external url instead of the actual external url if the display text contains at least on colon character.
This occurs on 19.7, the issue did not occur on our previously used version 18.9
I’ve attached a sample presentation test.zip (23.8 KB)
and the sample code is:
Presentation source = new Presentation(@"C:\_Test\test.pptx");
String url = ((AutoShape)source.Slides[0].Shapes[0]).TextFrame.Paragraphs[0].Portions[0].PortionFormat.HyperlinkClick.ExternalUrl;
In this specific example the actual external url is : cdm:chart:Test:Sheet1:Chart1 and the display text that is returned as external url is: cdm:chart