AfterAnimationColor

IEffect.AfterAnimationColor-Eigenschaft

Definierte eine Nachanimationsfarbe für den Effekt. Lese-/Schreibzugriff auf IColorFormat.

public IColorFormat AfterAnimationColor { get; set; }

Beispiele

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

Siehe auch