## GradientStopCollection::Add(double, const CellsColor\&, int32_t) method


Add a gradient stop.

```cpp
void Aspose::Cells::Drawing::GradientStopCollection::Add(double position, const CellsColor &color, int32_t alpha)
```


| Parameter | Type | Description |
| --- | --- | --- |
| position | double | The position of the stop,in unit of percentage. |
| color | const CellsColor\& | The color of the stop. |
| alpha | int32_t | The alpha of the color. |

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [CellsColor](../../../aspose.cells/cellscolor/)
* Class [GradientStopCollection](../)
* Namespace [Aspose::Cells::Drawing](../../)
* Library [Aspose.Cells for C++](../../../)
## GradientStopCollection::Add(double, const Aspose::Cells::Color\&, int32_t) method


Add a gradient stop.

```cpp
void Aspose::Cells::Drawing::GradientStopCollection::Add(double position, const Aspose::Cells::Color &color, int32_t alpha)
```


| Parameter | Type | Description |
| --- | --- | --- |
| position | double | The position of the stop,in unit of percentage. |
| color | const Aspose::Cells::Color\& | The color of the stop. |
| alpha | int32_t | The alpha of the color. |

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [GradientStopCollection](../)
* Namespace [Aspose::Cells::Drawing](../../)
* Library [Aspose.Cells for C++](../../../)
