FrameTick
PresentationPlayer.FrameTick event
Frame tick event. Occurs when each frame of the animation created by PresentationAnimationsGenerator
is generated by the player.
public event FrameTickHandler FrameTick;
Examples
[C#]
using (Presentation pres = new Presentation("pres.pptx"))
{
using (var animationsGenerator = new PresentationAnimationsGenerator(pres))
using (var player = new PresentationPlayer(animationsGenerator, 33))
{
player.FrameTick += (sender, args) =>
{
args.GetFrame().Save($"frame_{sender.FrameIndex}.png");
};
animationsGenerator.Run(pres.Slides);
}
}
See Also
- delegate FrameTickHandler
- class PresentationPlayer
- namespace Aspose.Slides.Export
- assembly Aspose.Slides