
## SetTwoColorGradient function

Sets the specified fill to a two-color gradient.

```go

func (instance *Style) SetTwoColorGradient(color1 *Color, color2 *Color, gradientstyletype GradientStyleType, variant int32)  error

```

## Remarks


## See Also

* Class [Style](../)
* Library [Aspose.Cells for Go](../../)
