I want to find out the shape to which the effect applies, Like PowerPoint.Effect.Shape in Microsoft office API.
I found the aspose cloud api has the ShapeIndex property that seems what I need:
https://docs.aspose.cloud/slides/working-with-animations-in-powerpoint-slides/
ShapeIndex int The index of the shape to which the effect applies.
But I can’t find this property in C#, IEffect interface, How can read this property in C#.
Thanks.
@tomnotcat
Actually, the animations on slides are defined on Slide.Timeline but you can still extract the effects that are applied on particular shape of the slide. I suggest you to please visit the following thread for your convenience.
@r10n ,
Now you can use the following example code and source presentation to get animation duration using latest Aspose.Slides for .NET 20.6.
In the shared example, I have added the sample presentation with different animation effects on shapes. The first shape in TestAnimation.pptx presentation has one Fly effect with TriggerDelayTime = 1sec and NaN Duration.
This effect has three behaviors:
SetEffect with Duration = 0.001sec
PropertyEffect with Duration = 5sec
PropertyEffect with Duratio…