How do create a Link in a picture in aspose.slides.
the link will open a file excel.
thanks
How do create a Link in a picture in aspose.slides.
Hi Manuel,
Thanks for your interest in Aspose.Slides.
Please use the following code snippet to add link to a shape.
Presentation pres = new Presentation(“d:/demo-picture.ppt”);
Shape shp = pres.Slides[0].Shapes[0];
//add external link to excel file
shp.AddLink().SetExternalHyperlink(“d:/excel.xls”);
pres.Save(“d:/out.ppt”, Aspose.Slides.Export.SaveFormat.Ppt);