initColorSchemeFromInherited
initColorSchemeFromInherited() function
Init ColorScheme with new object for overriding ColorScheme of InheritedTheme. And initialize data of this new object with data of the ColorScheme of InheritedTheme.
Error
| Error | Condition |
|---|---|
| com.aspose.ms.System.InvalidOperationException | Thrown if the ColorScheme is already initialized (not null). |