Click or drag to resize

GradientStopList Append Method (Single, KnownColors)

Creates the new gradient stop and adds it to the collection.

Namespace: Spire.Presentation.Collections
Assembly: Spire.Presentation (in Spire.Presentation.dll) Version: 10.4.2.0 (10.4.2.6046)
Syntax
public int Append(
	float position,
	KnownColors knownColor
)

Parameters

position
Type: System Single
Position of the new gradient stop.
knownColor
Type: Spire.Presentation KnownColors
Color of the new radient stop.

Return Value

Type: Int32
Index of the new gradient stop in the collection.
See Also