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

ValueDescription
NoneNo gradient.
HorizontalGradient running horizontally across an object.
VerticalGradient running vertically down an object.
DiagonalUpDiagonal gradient moving from a bottom corner up to the opposite corner.
DiagonalDownDiagonal gradient moving from a top corner down to the opposite corner.
FromCornerGradient running from a corner to the other three corners.
FromCenterGradient running from the center out to the corners.

See Also

 English