Click or drag to resize

XlsGradient GradientVariant Property

Gets or sets the gradient variant type for the shape fill.

Namespace: Spire.Xls.Core.Spreadsheet
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public GradientVariantsType GradientVariant { get; set; }

Property Value

Type: GradientVariantsType
A GradientVariantsType value representing the gradient variant.

Return Value

Type: GradientVariantsType
The current gradient variant type.

Implements

IGradient GradientVariant
Exceptions
Exception Condition
NotSupportedException Thrown when the fill type is not Gradient or when the gradient style type is unknown.
See Also