## GradientFill.SetGradient method

Ange gradientfyllningstyp och riktning.

```csharp
public void SetGradient(GradientFillType type, double angle, GradientDirectionType direction)
```

| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| type | GradientFillType | Fyllnadstyp för gradient. |
| angle | Double | Vinkeln. Gäller endast GradientFillType.Linear. |
| direction | GradientDirectionType | Typ av riktning. Gäller endast GradientFillType.Radial och GradientFillType.Rectangle. |

### Se även

* enum [GradientFillType](../../gradientfilltype)
* enum [GradientDirectionType](../../gradientdirectiontype)
* class [GradientFill](../../gradientfill)
* namnutrymme [Aspose.Cells.Drawing](../../gradientfill)
* hopsättning [Aspose.Cells](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Cells.dll -->
