GetEffective()

Background::GetEffective() method

Gets effective background data with the inheritance applied.

System::SharedPtr<IBackgroundEffectiveData> Aspose::Slides::Background::GetEffective() override

Return Value

A IBackgroundEffectiveData.

Remarks

This example demonstrates getting effective background properties.

auto pres = MakeObject<Presentation>(u"MyPresentation.pptx");
auto effectiveBackground = pres->get_Slides()->idx_get(0)->get_Background()->GetEffective();
Console::WriteLine(String(u"Background fill type: ") + ObjectExt::ToString(effectiveBackground->get_FillFormat()->get_FillType()));
Console::WriteLine(String(u"Any effects applied: ") + !effectiveBackground->get_EffectFormat()->get_IsNoEffects());

See Also