GradientStyle
Overview
GradientStyle is an enum in Aspose.Words FOSS for .NET.
Specifies the style for a gradient fill.
This enumeration defines 7 values: None, Horizontal, Vertical, DiagonalUp, DiagonalDown, FromCorner, FromCenter.
Values
| Value | Description |
|---|---|
None | No gradient. |
Horizontal | Gradient running horizontally across an object. |
Vertical | Gradient running vertically down an object. |
DiagonalUp | Diagonal gradient moving from a bottom corner up to the opposite corner. |
DiagonalDown | Diagonal gradient moving from a top corner down to the opposite corner. |
FromCorner | Gradient running from a corner to the other three corners. |
FromCenter | Gradient running from the center out to the corners. |