Visual Basic and .Net News and Resources
Speed optimizationsAspose.Slides has many features for managing presentations. Some of these features are quite efficient in terms of execution speed while others are a bit time consuming. The main idea of speed optimization is replace slow operations with their more efficient alternatives where possible. Following are some useful operation replacements:
- When creating presentations from templates try to avoid cloning slides from one presentation to another. Sometimes it’s better to open template and delete unnecessary slides instead of cloning each slide from the template to an empty presentation.
- If you are creating a presentation with several similar slides then avoid cloning each slide from template. You should do it only once and after that clone this created slide inside your target presentation. Cloning local slides is more efficient than cloning between presentations.
- Create whole table at once if possible instead of adding new columns and rows later. This can also reduce memory usage.
- Fill table cells row by row from left to right and from top to bottom. Another order can slow down the process dramatically.