Click or drag to resize

ExcelGradient TwoColorGradient Method (GradientStyleType, GradientVariantsType)

Applies a two-color gradient fill to the current shape.

Namespace: Spire.Xls
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public void TwoColorGradient(
	GradientStyleType style,
	GradientVariantsType variant
)

Parameters

style
Type: Spire.Xls GradientStyleType
The style of the gradient.
variant
Type: Spire.Xls GradientVariantsType
The variant of the gradient.

Implements

IGradient TwoColorGradient(GradientStyleType, GradientVariantsType)
See Also