SpreadsheetGear
Insert(Color,Double,Double) Method
See Also  Send Feedback
SpreadsheetGear.Shapes Namespace > IGradientStops Interface > Insert Method : Insert(Color,Double,Double) Method

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)
Adds a new gradient stop to the end of the collection.

Syntax

Visual Basic (Declaration) 
Overloads Sub Insert( _
   ByVal rgb As Color, _
   ByVal position As Double, _
   ByVal transparency As Double _
) 
C# 
void Insert( 
   Color rgb,
   double position,
   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

Platforms: Windows 2000, Windows XP, Windows Vista, Windows Server 2003 and Windows Server 2008. SpreadsheetGear 2009 requires the Microsoft .NET Framework 2.0 and supports .NET 3.0 and .NET 3.5.

See Also

Copyright © 2003-2009 SpreadsheetGear LLC. All Rights Reserved.Help Powered by Innovasys   
SpreadsheetGear is a registered trademark of SpreadsheetGear LLC.
Microsoft, Microsoft Excel and Visual Studio are trademarks or registered trademarks of Microsoft Corporation.