SpreadsheetGear 2017
Insert(Color,Double) Method






SpreadsheetGear.Shapes Namespace > IGradientStops Interface > Insert Method : Insert(Color,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
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 _
) 
'Usage
 
Dim instance As IGradientStops
Dim rgb As Color
Dim position As System.Double
 
instance.Insert(rgb, position)
void Insert( 
   Color rgb,
   System.double position
)
procedure Insert( 
    rgb: Color;
    position: System.Double
); 
function Insert( 
   rgb : Color,
   position : System.double
);
void Insert( 
   Color rgb,
   System.double position
) 
void Insert( 
   Color rgb,
   System.double position
) 

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
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