## LinearGradientBrush::set_LinearColors method


Sets starting and ending colors of this gradient.

```cpp
void System::Drawing::Drawing2D::LinearGradientBrush::set_LinearColors(const ArrayPtr<Color> &value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | const ArrayPtr\<Color\>\& | [Array](../../../system/array/) of two colors |

## See Also

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [Color](../../../system.drawing/color/)
* Class [LinearGradientBrush](../)
* Namespace [System::Drawing::Drawing2D](../../)
* Library [Aspose.PUB for C++](../../../)
