BackgroundGetEffective Method

Gets effective background data with the inheritance applied.

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.6.0.0 (21.6)
Syntax
public IBackgroundEffectiveData GetEffective()

Return Value

Type: IBackgroundEffectiveData
A IBackgroundEffectiveData.

Implements

IBackgroundGetEffective
Examples
This example demonstrates getting effective background properties.
[C#]
using (Presentation pres = new Presentation(@"MyPresentation.pptx"))
{
    IBackgroundEffectiveData effectiveBackground = pres.Slides[0].Background.GetEffective();

    Console.WriteLine("Background fill type: " + effectiveBackground.FillFormat.FillType);
    Console.WriteLine("Any effects applied: " + !effectiveBackground.EffectFormat.IsNoEffects);
}
See Also