GetEffective
Theme.GetEffective method
Gets effective theme data with the inheritance applied.
public IThemeEffectiveData GetEffective()
Return Value
Examples
This example demonstrates getting effective theme properties.
[C#]
using (Presentation pres = new Presentation(@"MyPresentation.pptx"))
{
IThemeEffectiveData effectiveTheme = pres.Slides[0].ThemeManager.OverrideTheme.GetEffective();
Console.WriteLine("Font scheme name: " + effectiveTheme.FontScheme.Name);
Console.WriteLine("Major latin font: " + effectiveTheme.FontScheme.Major.LatinFont.FontName);
Console.WriteLine("Minor latin font: " + effectiveTheme.FontScheme.Minor.LatinFont.FontName);
}
See Also
- interface IThemeEffectiveData
- class Theme
- namespace Aspose.Slides.Theme
- assembly Aspose.Slides