Aspose::Cells::Workbook::CustomTheme method
Contents
[
Hide
]Workbook::CustomTheme(const U16String&, const Vector <Aspose::Cells::Color>&) method
Customs the theme.
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.
| 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
- Class Vector
- Class 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.
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.
| 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
- Class Vector
- Class Workbook
- Namespace Aspose::Cells
- Library Aspose.Cells for C++