AfterAnimationColor

Effect.AfterAnimationColor-Eigenschaft

Definiert eine Nachanimationsfarbe für den Effekt. Lese-/Schreibe IColorFormat.

public IColorFormat AfterAnimationColor { get; set; }

Beispiele

[C#]
using (Presentation presentation = new Presentation("demo.pptx"))
{
    // Holen Sie sich den ersten Effekt der ersten Folie.
    IEffect firstSlideEffect = presentation.Slides[0].Timeline.MainSequence[0];
    
    // Ändern Sie den Effekt Nachanimationstyp auf "Farbe"
    firstSlideEffect.AfterAnimationType = AfterAnimationType.Color;
    
    // Setzen Sie die Nachanimationsfarbe des Effekts.
    firstSlideEffect.AfterAnimationColor.Color = Color.Green;
}

Siehe Auch