DefaultDelay

PresentationAnimationsGenerator.DefaultDelay property

Gets or sets default delay time [ms].

public int DefaultDelay { get; set; }

Examples

[C#]
using (Presentation presentation = new Presentation("animated.pptx"))
{
    using (var animationsGenerator = new PresentationAnimationsGenerator(presentation.SlideSize.Size.ToSize()))
    {
        animationsGenerator.DefaultDelay = 1000; // 1s
        // ...
        animationsGenerator.Run(presentation.Slides);
    }
}

See Also