GetEffective

Background.GetEffective method

Gets effective background data with the inheritance applied.

public IBackgroundEffectiveData GetEffective()

Return Value

A IBackgroundEffectiveData.

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