init_color_scheme_from method
init_color_scheme_from
Init ColorScheme with new object for overriding ColorScheme of InheritedTheme.
def init_color_scheme_from(self, color_scheme):
...
| Parameter | Type | Description |
|---|---|---|
| color_scheme | IColorScheme | Data to initialize from. |
Exceptions
| Exception | Description |
|---|---|
| RuntimeError(Proxy error(InvalidOperationException)) | Thrown if the ColorScheme is already initialized (not None). |
| RuntimeError(Proxy error(ArgumentNullException)) | Thrown if the colorScheme parameter is None. |
See Also
- class
IColorScheme - class
IOverrideTheme - module
aspose.slides.theme - library
Aspose.Slides