.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

ShapeOutlineFill.SetGradientFill Method

Name Parameters Description
SetGradientFill(ShapeGradientType, IList<GradientStopInfo>) gradientType, gradientStops Sets the gradient fill for a drawing object's element.
SetGradientFill(ShapeGradientType, Color, Color) gradientType, firstColor, lastColor Sets the two-color gradient fill for a drawing object's element.