how to get animation duration time?

Technical support for Presentation

Moderator: iceblue support

how to get animation duration time?

Postby lemuihuongviet » Mon Feb 06, 2017 4:36 am

how to get animation duration time?
This is my sample, duration time = 4 secons
You do not have the required permissions to view the files attached to this post.
lemuihuongviet
 
Posts: 26
Joined: Thu Dec 01, 2016 10:33 am

Re: how to get animation duration time?

Postby Betsy.jiang » Mon Feb 06, 2017 6:11 am

Dear lemuihuongviet,

Thanks for your sample and information.
Sorry that currently Spire.Presentation doesn't support to get animation duration time. But we have added the new feature, we will notify you as soon as it is done.

Sincerely,
Betsy
E-iceblue support team
User avatar
Betsy.jiang
 
Posts: 1650
Joined: Tue Sep 06, 2016 8:30 am

Re: how to get animation duration time?

Postby lemuihuongviet » Mon Feb 06, 2017 6:42 am

Dear Betsy.jiang!
Thanks you very much!
lemuihuongviet
 
Posts: 26
Joined: Thu Dec 01, 2016 10:33 am

Re: how to get animation duration time?

Postby Betsy.jiang » Tue Feb 07, 2017 7:13 am

Dear lemuihuongviet,

Sorry for my mistake.
After further investigation, we found Spire.Presentation supports to get that value.
Here is sample code for your reference.
Code: Select all
var time = slide.Timeline.MainSequence[0].CommonBehaviorCollection[1].Timing.Duration;

If there is any question, please let me know.

Sincerely,
Betsy
E-iceblue support team
User avatar
Betsy.jiang
 
Posts: 1650
Joined: Tue Sep 06, 2016 8:30 am

Re: how to get animation duration time?

Postby Betsy.jiang » Mon Feb 13, 2017 6:56 am

Dear lemuihuongviet,

Did you test the code I provided ? Did it meet your needs ?
Looking forward to your reply.

Thanks,
Betsy
E-iceblue support team
User avatar
Betsy.jiang
 
Posts: 1650
Joined: Tue Sep 06, 2016 8:30 am


Return to Spire.Presentation

Who is online

Users browsing this forum: No registered users and 0 guests