GradientStopList
Append Method (Single, Color)
|
Creates the new gradient stop.
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,
Color color
)
Public Function Append (
position As Single,
color As Color
) As Integer
public:
int Append(
float position,
Color color
)
member Append :
position : float32 *
color : Color -> int
Parameters
-
position
-
Type:
System
Single
Position of the new gradient stop.
-
color
-
Type:
System.Drawing
Color
Color of the new radient stop.
Return Value
Type:
Int32
Index of the new gradient stop in the collection.
See Also