NewAnimation
PresentationAnimationsGenerator.NewAnimation evento
Un evento representa que se generó una nueva animación.
public event Action<IPresentationAnimationPlayer> NewAnimation;
Ejemplos
[C#]
using (Presentation presentation = new Presentation("SimpleAnimations.pptx"))
{
using (var animationsGenerator = new PresentationAnimationsGenerator(presentation.SlideSize.Size.ToSize()))
{
animationsGenerator.NewAnimation += animationPlayer =>
{
Console.WriteLine($"Duración total de la animación: {animationPlayer.Duration}");
};
animationsGenerator.Run(presentation.Slides);
}
}
Ver También
- interfaz IPresentationAnimationPlayer
- clase PresentationAnimationsGenerator
- espacio de nombres Aspose.Slides.Export
- ensamblado Aspose.Slides