## CellsHelper::GetUsedColors method


Gets all used colors in the workbook.

```cpp
static Vector<Aspose::Cells::Color> Aspose::Cells::CellsHelper::GetUsedColors(const Workbook &workbook)
```


| Parameter | Type | Description |
| --- | --- | --- |
| workbook | const Workbook\& | The workbook object. |

## ReturnValue

The used colors.

## See Also

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