SpreadsheetGear 2023
Insert(Color,Double,Double) Method


SpreadsheetGear.Shapes Namespace > IGradientStops Interface > Insert Method : Insert(Color,Double,Double) Method
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
The transparency of the gradient stop as a value from 0.0 (opaque) to 1.0 (transparent)
Adds a new gradient stop to the end of the collection.
Syntax
'Declaration
 
Overloads Sub Insert( _
   ByVal rgb As Color, _
   ByVal position As System.Double, _
   ByVal transparency As System.Double _
) 
'Usage
 
Dim instance As IGradientStops
Dim rgb As Color
Dim position As System.Double
Dim transparency As System.Double
 
instance.Insert(rgb, position, transparency)
void Insert( 
   Color rgb,
   System.double position,
   System.double transparency
)

Parameters

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
transparency
The transparency of the gradient stop as a value from 0.0 (opaque) to 1.0 (transparent)
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