custom_theme méthode
custom_theme(theme_name, colors) {#str-aspose.pydrawing.Color[]}
Customise le thème.
def custom_theme(self, theme_name, colors):
...
| Paramètre | Taper | Description |
|---|---|---|
| theme_name | str | Le nom du thème |
| colors | aspose.pydrawing.Color[] | Les couleurs du thème |
Remarques
La longueur des couleurs doit être de 12.
| Indice de tableau | Type de thème |
|---|---|
| 0 | Arrière-plan1 |
| 1 | Texte 1 |
| 2 | Backgournd2 |
| 3 | Texte2 |
| 4 | Accent1 |
| 5 | Accent2 |
| 6 | Accent3 |
| 7 | Accent4 |
| 8 | Accent5 |
| 9 | Accent6 |
| 10 | Lien hypertexte |
| 11 | Lien hypertexte suivi |
- module aspose.cells
- classe Workbook