none
Addpicture API issue RRS feed

  • Question

  • Hi guys

    I am trying to export a set of images to each cell  just by resizing the it in Microsoft Excel 2010. The function Addpicture() is taking up much time. Its taking around 5 minutes for 1000 images and 15 minutes for 2000 images. I need to export around 6000 images and its taking around 4 hrs which is not acceptable. Can u please suggest a better solution to improve the performance?

    Please find the code below:

    oShape.AddPicture(static_cast<LPCTSTR>(fileName),Office::msoFalse,Office::msoTrue,left,top,200,200); 

    Thursday, May 28, 2015 10:33 AM

Answers

All replies