Click or drag to resize

GradientStops Add Method (XlsGradientStop)

Adds a gradient stop to the chart. If the stop does not have a conversion object, it creates a new one, sets its properties, and adds it to the conversion collection. If the stop already has a conversion object, it checks if the stop is already in the collection. If not, it adds the conversion object to the collection and the stop to the base collection.

Namespace: Spire.Xls.Core.Spreadsheet.Shapes
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public void Add(
	XlsGradientStop stop
)

Parameters

stop
Type: Spire.Xls.Core.Spreadsheet.Shapes XlsGradientStop
The gradient stop to add.
See Also