OverrideTheme

OverrideTheme class

Represents a overriding theme.

public sealed class OverrideTheme : Theme, IOverrideTheme

Properties

NameDescription
override ColorScheme { get; }Returns the color scheme. Read-only IColorScheme.
override FontScheme { get; }Returns the font scheme. Read-only IFontScheme.
override FormatScheme { get; }Returns the shape format scheme. Read-only IFormatScheme.
IsEmpty { get; }True value means that ColorScheme, FontScheme, FormatScheme is null and any overriding with this theme object are disabled. Read-only Boolean.
Presentation { get; }Returns the parent presentation. Read-only IPresentation.

Methods

NameDescription
Clear()Set ColorScheme, FontScheme, FormatScheme to null to disable any overriding with this theme object.
GetEffective()Gets effective theme data with the inheritance applied.
InitColorScheme()Init ColorScheme with new object for overriding ColorScheme of InheritedTheme.
InitColorSchemeFrom(IColorScheme)Init ColorScheme with new object for overriding ColorScheme of InheritedTheme.
InitColorSchemeFromInherited()Init ColorScheme with new object for overriding ColorScheme of InheritedTheme. And initialize data of this new object with data of the ColorScheme of InheritedTheme.
InitFontScheme()Init FontScheme with new object for overriding FontScheme of InheritedTheme.
InitFontSchemeFrom(IFontScheme)Init FontScheme with new object for overriding FontScheme of InheritedTheme.
InitFontSchemeFromInherited()Init FontScheme with new object for overriding FontScheme of InheritedTheme. And initialize data of this new object with data of the FontScheme of InheritedTheme.
InitFormatScheme()Init FormatScheme with new object for overriding FormatScheme of InheritedTheme.
InitFormatSchemeFrom(IFormatScheme)Init FormatScheme with new object for overriding FormatScheme of InheritedTheme.
InitFormatSchemeFromInherited()Init FormatScheme with new object for overriding FormatScheme of InheritedTheme. And initialize data of this new object with data of the FormatScheme of InheritedTheme.

See Also