I have a PowerPoint slide with a world map chart in it.
Usually I would try to cast the object as an IChart but this returns null in case of the world map.
So I see that it actually has to be casted as a PictureFrame object but I cannot figure out how to access the chart and its associated data.
This is the code so far:
Aspose.Slides.Presentation presentation = new Aspose.Slides.Presentation("map.pptx");
var slide = presentation.Slides[0];
var shapes = slide.Shapes;
// This returns null
//var chart = shapes.Where(s => s.Name == "MapChart").First() as Aspose.Slides.Charts.IChart;
var pictureFrame = shapes.Where(s => s.Name == "MapChart").First() as Aspose.Slides.PictureFrame;
Thanks for any help.
map.zip (3.9 MB)