This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to efficiently use Aspose.Slides in your applications

 
Usman Sarfraz
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Technical Tip � How to efficiently use Aspose.Slides in your applications

Speed Optimization

Aspose.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.

Size Optimization

Most of the optimization tasks related to size of the presentation are executed automatically by Aspose.Slides when you save the presentation to a file or stream. However there are several additional ways to further reduce the size of the presentation:

- Don�t forget to delete unused master slides and handout.
- Reuse fonts and images in a presentation.
- Delete alternative text from shapes if you are not going to use it later.
- Insert common shapes and images to master slide.
- Minimize the number of text portions if possible.

About Aspose.Slides for .NET and Java

- Download evaluation version of Aspose.Slides for .NET and Java.
- Online documentation of Aspose.Slides for .NET and Java.
- Demos of Aspose.Slides for .NET and Java.
- Post your technical questions/queries to Aspose.Slides for .NET and Java Forum.

Contact Information
Suite 119, 272 Victoria Avenue
Chatswood, NSW, 2067
Australia
Aspose - The .NET and Java component publisher
sales@aspose.com
Phone: 888.277.6734
Fax: 866.810.94651
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"aspose_seo",
Please check your private messages regarding an important administrative matter.
-Ben
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic