File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Blatant Advertising and the fly likes How to efficiently use Aspose.Slides in your applications Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Other » Blatant Advertising
Bookmark "How to efficiently use Aspose.Slides in your applications" Watch "How to efficiently use Aspose.Slides in your applications" New topic
Author

How to efficiently use Aspose.Slides in your applications

Usman Sarfraz
Ranch Hand

Joined: Jan 02, 2008
Posts: 59
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

Joined: Dec 11, 2004
Posts: 13410

"aspose_seo",
Please check your private messages regarding an important administrative matter.
-Ben


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to efficiently use Aspose.Slides in your applications