BackgroundGetEffective Method |
Gets effective background data with the inheritance applied.
Namespace:
Aspose.Slides
Assembly:
Aspose.Slides (in Aspose.Slides.dll) Version: 20.3.0.0 (20.3)
Syntaxpublic IBackgroundEffectiveData GetEffective()
Public Function GetEffective As IBackgroundEffectiveData
public:
virtual IBackgroundEffectiveData^ GetEffective() sealed
abstract GetEffective : unit -> IBackgroundEffectiveData
override GetEffective : unit -> IBackgroundEffectiveData
Return Value
Type:
IBackgroundEffectiveDataA
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