Spire.Presentation is a professional PowerPoint® compatible library that enables developers to create, read, write, modify, convert and Print PowerPoint documents. Get free and professional technical support for Spire.Presentation for .NET, Java, Android, C++, Python.

Fri Dec 16, 2016 3:47 am

I Open powerpoint file,
how to know what shape animation with?
example: I do not see in the shape idTimeline? Get Animations in PowerPoint
Can you help me?????????

lemuihuongviet
 
Posts: 26
Joined: Thu Dec 01, 2016 10:33 am

Fri Dec 16, 2016 5:52 am

Dear lemuihuongviet,

Thanks for your inqury.
Here is sample code for your reference.
Code: Select all
            var MainS = shape.Slide.Timeline.MainSequence;
            var type = MainS[0].AnimationEffectType;

If there is any question, welcome to get it back to us.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Fri Dec 16, 2016 6:39 am

Hi Betsy.jiang!
It was 1 slide 1 shape, 1 animation.
1 slide with many shapes and animation. How determine what shape do with animation?

lemuihuongviet
 
Posts: 26
Joined: Thu Dec 01, 2016 10:33 am

Fri Dec 16, 2016 7:25 am

Dear lemuihuongviet,

Thanks for response.
Sorry that at present Spire.Presentation doesn't support to detect which shape has animation. But we have added this new feature into our schedule, once there is any progress, we will inform you.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Fri Dec 16, 2016 7:31 am

Dear Betsy.jiang.
Thanks for response!

lemuihuongviet
 
Posts: 26
Joined: Thu Dec 01, 2016 10:33 am

Mon Jan 23, 2017 9:27 am

Dear lemuihuongviet,

Thanks for waiting.
Now the new feature has been added in Spire.Presentation Pack Hotfix Version:2.7.32, welcome to test it.
And here is sample code for your reference.
Code: Select all
Var Shape=slide.Timeline.TextAnimations[0].ShapeRef;


Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Wed Jan 25, 2017 7:29 am

Dear lemuihuongviet,

Did you test the hotfix and new feature ? Did it meet your requirement ?
Thanks for your feedback.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Mon Feb 06, 2017 8:03 am

Dear Betsy.jiang!
if ishape isn'tTextAnimations. It's Image.
Var Shape=slide.Timeline.TextAnimations[0];
Shape null because slide.Timeline.TextAnimations.count() ==0;
Here, I had attachment sample file.

lemuihuongviet
 
Posts: 26
Joined: Thu Dec 01, 2016 10:33 am

Mon Feb 06, 2017 8:40 am

Dear lemuihuongviet,

Thanks for your feedback.
I have noticed that issue, and posted it to our Dev team. Once there is any progress, we will let you know.
Sorry for inconvenience.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Thu Aug 17, 2017 8:27 am

What about now?

I found there is a prop named "TrigShap" in AnimationEffectCollection obj, I can see it`s the shape of this animation....but!!! that`s NonPublicMember!

why?

July
 
Posts: 6
Joined: Wed Jun 07, 2017 5:31 am

Thu Aug 17, 2017 10:17 am

Hello July,

Thanks for your inquiry.
Yes, the "TrigShap" is not published now because of some reason. If you really need this feature, could you specify it and provide a sample file so we will look into it and decide whether to publish it or whether we could implement it.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Fri Aug 25, 2017 1:42 am

Hello July,

Kindly note the "trigger shape" is the target shape for interactive sequence. If the sequence is not interactive, then the property will return null. As for the property "ShapeRef", it refers to the shape that the animation belongs to. To help us with a better understanding of your requirement, please send your sample ppt file to us via email(support@e-iceblue.com) and also share more details of your requirement.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Tue Aug 29, 2017 5:04 pm

Jane.Bai wrote:Hello July,

Kindly note the "trigger shape" is the target shape for interactive sequence. If the sequence is not interactive, then the property will return null. As for the property "ShapeRef", it refers to the shape that the animation belongs to. To help us with a better understanding of your requirement, please send your sample ppt file to us via email(support@e-iceblue.com) and also share more details of your requirement.

Sincerely,
Jane
E-iceblue support team


Thanks for reply ! My Product is a Application for PPTX covert to WPF app,and also can covert to Html5 app,it need to know what`s the trigger of the interactive sequence ,then I can use it for Button and other function ,so it`s important.
I use another way to replace this function ,I order the first element in the sequence as the trigger .Anly user must trigger itself first,and then they can trigger other animation.
But there is not a good idea for this question ,I hope I can use this property in my case .thank you.

July
 
Posts: 6
Joined: Wed Jun 07, 2017 5:31 am

Wed Aug 30, 2017 6:56 am

Hello July,

Thanks for your details.
I have added the new feature of publishing the property into our schedule. Once there's any update, I will let you know.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Thu Aug 31, 2017 2:13 pm

OK ,Thank you very much!

July
 
Posts: 6
Joined: Wed Jun 07, 2017 5:31 am

Return to Spire.Presentation