Aspose::Cells::DataSorter::AddColorKey method

DataSorter::AddColorKey method

Adds color sort key.

void Aspose::Cells::DataSorter::AddColorKey(int32_t key, SortOnType type, SortOrder order, const Aspose::Cells::Color &color)
ParameterTypeDescription
keyint32_tThe sorted column index(absolute position, column A is 0, B is 1, …)
typeSortOnTypeThe sorted color value type.
orderSortOrderThe sort order.
colorconst Aspose::Cells::Color&The custom sort color.

See Also