FrameTickEventArgs
Clase FrameTickEventArgs
Representa los argumentos del evento FrameTick
.
public class FrameTickEventArgs
Propiedades
Nombre | Descripción |
---|
Player { get; } | Obtiene el reproductor de presentaciones |
Métodos
Ejemplos
[C#]
using (Presentation pres = new Presentation("pres.pptx"))
{
using (var animationsGenerator = new PresentationAnimationsGenerator(pres))
using (var player = new PresentationPlayer(animationsGenerator, 33))
{
int frameNumber = 0;
player.FrameTick += (sender, args) =>
{
args.GetFrame().Save($"frame_{frameNumber++}.png");
};
animationsGenerator.Run(pres.Slides);
}
}
Véase también