SpreadsheetGear 2023
InsertAt(Int32,Color,Double) Method


SpreadsheetGear.Shapes Namespace > IGradientStops Interface > InsertAt Method : InsertAt(Int32,Color,Double) Method
The index of the new gradient stop
The color of the gradient stop as an RGB value
The position of the gradient stop as a value from 0.0 to 1.0
Inserts a new gradient stop at the specified index in the collection.
Syntax
'Declaration
 
Overloads Sub InsertAt( _
   ByVal index As System.Integer, _
   ByVal rgb As Color, _
   ByVal position As System.Double _
) 
'Usage
 
Dim instance As IGradientStops
Dim index As System.Integer
Dim rgb As Color
Dim position As System.Double
 
instance.InsertAt(index, rgb, position)
void InsertAt( 
   System.int index,
   Color rgb,
   System.double position
)

Parameters

index
The index of the new gradient stop
rgb
The color of the gradient stop as an RGB value
position
The position of the gradient stop as a value from 0.0 to 1.0
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IGradientStops Interface
IGradientStops Members
Overload List