GetEffective
Background.GetEffective method
Gets effective background data with the inheritance applied.
public IBackgroundEffectiveData GetEffective()
Return Value
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
- interface IBackgroundEffectiveData
- class Background
- namespace Aspose.Slides
- assembly Aspose.Slides