Performance issue with Powerpoint Automation in Office 2013

  • We are trying to paste content into PPT (PPT automation); It works perfectly but is significantly slower in Office 2013 when compare to Office 2010. Pls see the sample code below

    Set objSlides = Application.ActivePresentation.Slides
    Set pptLayout = Application.ActivePresentation.Designs(1).SlideMaster.CustomLayouts(1)
    Set objSlide = Application.ActivePresentation.Slides.AddSlide(lSlideCount, pptLayout)
    Set objShape = objSlide.Shapes(2)
    objSlide.Shapes.AddPicture strPicData, msoFalse, msoTrue, objShape.Left, objShape.Top, objShape.Width, objShape.Height
Will I have the same issue with Aspose also?

Hi Dharan,

Thanks for your interest in Aspose.Slides.

I have observed the sample code shared by you and it does not seems related to Aspose.Slides. Can you please share the detailed information about the incurring issue and also the details about your requirements that you want Aspose.Slides to offer you. I will investigate the issue further on my end to help you out.

Many Thanks,

Hi - thanks for your response.


Currently I am not using Aspose slides. However we are using native Microsoft Office automation API’s to create PPT’s on the fly. However we see a performance degradation in created slides in Powerpoint 2013. The same piece of code works faster in Office/Powerpoint 2010.

I wanted to know whether if I use Aspose, I will face this problem or not. Do you face the same issue with Office 2013 ?

Thanks a lot.
Dharan

Hi Dharan,


With reference to our conversation over live IM session, I request you to please try using Aspose.Slides for .NET on your end and share your feedback with us if there is any issue incurring. Secondly, I like to add that Aspose.Slides does not depend on PowerPoint version for presentation generation and API works without any dependence of PowerPoint version installed.

Many Thanks,