We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to set Animation "Start" option?

I have a simple one slide ppt. In the slide I have a textholder with 5 entries. I set the custom animation to use the Start option of "After previous", instead of "onclick"...so that each entry animates /fades in after the previous paragraph.

I am then use aspose slides...to first clear the paragraphs, and then programmatically add a paragraph for each keyword. This works, however the "start" option for each subsequent paragraph is now set to "OnClick"...so that when you run the slide, you must click to get the next paragraph to animate in.

I have looked at the animationsettings properties, and i cannot find where i can set this value to explicity use "After previous". This must be possible...but it's not clear how to do this.

Any suggestions?

Dear elixirmike,

You should try this code to produce effect of After Previous and to start the slide animation without user click. Let me know it works, if it does not work then give me your code or any source presentation(s) used inside it.

shp.AnimationSettings.AdvanceMode = ShapeAdvanceMode.AdvanceOnTime;

shp.AnimationSettings.AdvanceTime = 0.0d;