Hi,
Hi David,
Thanks for inquiring Aspose.Slides.
I have observed your requirements and like to share that the linked excel file link is associated with Ole objects. I suggest you to please try using following sample code to extract Ole links.
public static void loadOleLinks()
{
String path = “C:\Aspose Data\”;
Presentation pres = new Presentation(path + “PPT1.pptx”);
ISlide slide = pres.Slides[0];
foreach (IShape shape in slide.Shapes)
{
if (shape is IOleObjectFrame)
{
IOleObjectFrame ole = (IOleObjectFrame)shape;
if (ole.IsObjectLink)
{
String oleLink = ole.LinkPathLong;
}
}
}
}
Many Thanks,
Hi Mudassir,
Hi David,
Hi David,
I have observed your comments and like to share that ole.LinkPathLong property in above sample code is both readable and writeable. You can set the string path of new linked file for Ole using ole.LinkPathLong on your end. I hope this will be helpful.
Many Thanks,