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

ErrorCondition
com.aspose.ms.System.InvalidOperationExceptionThrown if the ColorScheme is already initialized (not null).