custom_theme method
custom_theme {#str-aspose.pydrawing.Color[]}
Customs the theme.
def custom_theme(self, theme_name, colors):
...
Parameter | Type | Description |
---|---|---|
theme_name | str | The theme name |
colors | aspose.pydrawing.Color[] | The theme colors |
Remarks
The length of colors should be 12.
Array index | Theme type |
---|---|
0 | Backgournd1 |
1 | Text1 |
2 | Backgournd2 |
3 | Text2 |
4 | Accent1 |
5 | Accent2 |
6 | Accent3 |
7 | Accent4 |
8 | Accent5 |
9 | Accent6 |
10 | Hyperlink |
11 | Followed Hyperlink |
See Also
- module
aspose.cells
- class
Workbook