
## SetOneColorGradient function

Sets the specified fill to a one-color gradient.Only applies for Excel 2007.

```go

func (instance *GradientFill) SetOneColorGradient(color *Color, degree float64, style GradientStyleType, variant int32)  error

```

## Remarks


## See Also

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