GradientStopList
Insert Method (Int32, Single, KnownColors)
|
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 void Insert(
int index,
float position,
KnownColors knownColor
)
Public Sub Insert (
index As Integer,
position As Single,
knownColor As KnownColors
)
public:
void Insert(
int index,
float position,
KnownColors knownColor
)
member Insert :
index : int *
position : float32 *
knownColor : KnownColors -> unit
Parameters
-
index
-
Type:
System
Int32
Index in the collection where new gradient stop will be inserted.
-
position
-
Type:
System
Single
Position of the new gradient stop.
-
knownColor
-
Type:
Spire.Presentation
KnownColors
Color of the new radient stop.
See Also