## Workbook::CustomTheme(const U16String\&, const Vector \<Aspose::Cells::Color\>\&) method


Customs the theme.

```cpp
void Aspose::Cells::Workbook::CustomTheme(const U16String &themeName, const Vector<Aspose::Cells::Color> &colors)
```


| Parameter | Type | Description |
| --- | --- | --- |
| themeName | const U16String\& | The theme name |
| colors | const Vector \<Aspose::Cells::Color\>\& | The theme colors |
## Remarks



The length of colors should be 12. <table><tr><th>Array index </th><th>Theme type  </th></tr><tr><td>0 </td><td>Backgournd1  </td></tr><tr><td>1 </td><td>Text1  </td></tr><tr><td>2 </td><td>Backgournd2  </td></tr><tr><td>3 </td><td>Text2  </td></tr><tr><td>4 </td><td>Accent1  </td></tr><tr><td>5 </td><td>Accent2  </td></tr><tr><td>6 </td><td>Accent3  </td></tr><tr><td>7 </td><td>Accent4  </td></tr><tr><td>8 </td><td>Accent5  </td></tr><tr><td>9 </td><td>Accent6  </td></tr><tr><td>10 </td><td>Hyperlink</td></tr><tr><td>11 </td><td>Followed Hyperlink</td></tr></table>
## See Also

* Class [Vector](../../vector/)
* Class [U16String](../../u16string/)
* Class [Workbook](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## Workbook::CustomTheme(const char16_t*, const Vector \<Aspose::Cells::Color\>\&) method


Customs the theme.

```cpp
void Aspose::Cells::Workbook::CustomTheme(const char16_t *themeName, const Vector<Aspose::Cells::Color> &colors)
```


| Parameter | Type | Description |
| --- | --- | --- |
| themeName | const char16_t* | The theme name |
| colors | const Vector \<Aspose::Cells::Color\>\& | The theme colors |
## Remarks



The length of colors should be 12. <table><tr><th>Array index </th><th>Theme type  </th></tr><tr><td>0 </td><td>Backgournd1  </td></tr><tr><td>1 </td><td>Text1  </td></tr><tr><td>2 </td><td>Backgournd2  </td></tr><tr><td>3 </td><td>Text2  </td></tr><tr><td>4 </td><td>Accent1  </td></tr><tr><td>5 </td><td>Accent2  </td></tr><tr><td>6 </td><td>Accent3  </td></tr><tr><td>7 </td><td>Accent4  </td></tr><tr><td>8 </td><td>Accent5  </td></tr><tr><td>9 </td><td>Accent6  </td></tr><tr><td>10 </td><td>Hyperlink</td></tr><tr><td>11 </td><td>Followed Hyperlink</td></tr></table>
## See Also

* Class [Vector](../../vector/)
* Class [Workbook](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
