Free Support Forum - aspose.com

No Pictures in Pictures Collection

When I open a template excel file that has images in it and I call:

Pictures pics = excel.Worksheets[0].Pictures;
Console.WriteLine("Picture Count: " + pics.Count);

I get "Picture Count: 0"

What am I doing wrong? Perhaps the Pictures collection is only a collection of images that are added after the worksheet is opened?

Thanks for any assistance,
Mike

Hi Mike,

Yes. Pictures collection only enables you to get/set pictures setting at run time. Now Aspose.Excel doesn't support to manipulate pictures in your designer file.

Ok, thanks for the quick response. This seems to be a common item lacking amongst the excel writing .NET components on the market. Do ya’ll have any plans to support this in the future?

We will investigate this issue and add this feature if possible.