PowerPoint 2007 Automation very slow.

A

Acalon

Hi All,

PowerPoint 2007 Automation seems to be very slow for me. Just an example : I
create 100 shapes : PPT 2003 : 0.8s | PPT 2007 : 11.7s.
Same test code (below).

Everybody has a slow automation? An idea to improve or optimize function?


<code>
p is Presentation...
for (int i = 1; i < 100; i++)
{

p.Slides[1].Shapes.AddShape(Microsoft.Office.Core.MsoAutoShapeType.msoShapeRectangle, j, j, 100, 100);
j += 10;
}
</code>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top