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
)
Public Function Append (
position As Single,
knownColor As KnownColors
) As Integer
public:
int Append(
float position,
KnownColors knownColor
)
member Append :
position : float32 *
knownColor : KnownColors -> int
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