I have a PPT file which contains a hyperlink on the second slide. I tried to query the Link property of the shape containing the link, but it is always null. I was wondering if you could provide me with sample code to acquire the link, or if Aspose.Slides cannot return it for some reason? I have attached the file for testing.
Please try the following code:
Presentation pres = new Presentation("d:\\ppt\\eric\\test+quiz+show.ppt");
ITextBox tb = PresentationScanner.GetAllTextBoxes(pres, false);
for (int i = 0; i < tb.Length; i++)
foreach( Link lnk in tf.Links )
if(lnk.ExternalHyperlink != null)