Too big presentation

Hi All.
I have a small problem with generated presentation (2003 PowerPoint) - it is too big for this content.
120 slides takes 23Mb space. When this presentation was created with VBA it was about 10Mb.

after ppt creation i use

ppt.Write(path);

please, give me advice.

Hello,

Try to call Presentation.DeleteUnusedMasters() and Presentation.DeleteHandout() before writing presentation to a file.

pres.DeleteUnusedMasters();
pres.DeleteHandout();
pres.Write(path);

Also, if you are using an source/template, then open it once in MS-PowerPoint and save it with back with Save As… menu command. Don’t use Save, use Save As…

Thank you.

Hi.

This :

pres.DeleteUnusedMasters();
pres.DeleteHandout();

decreased presentation size incidentally.
Presentation (no images or charts - just tables) created with aspose is too big.
(look at this post for more: Trouble with table)