custom_theme method

custom_theme {#str-aspose.pydrawing.Color[]}

Customs the theme.

def custom_theme(self, theme_name, colors):
    ...
ParameterTypeDescription
theme_namestrThe theme name
colorsaspose.pydrawing.Color[]The theme colors

Remarks

The length of colors should be 12.

Array indexTheme type
0Backgournd1
1Text1
2Backgournd2
3Text2
4Accent1
5Accent2
6Accent3
7Accent4
8Accent5
9Accent6
10Hyperlink
11Followed Hyperlink

See Also