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

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
Inserts a new gradient stop at the specified index in the collection.

Syntax

Visual Basic (Declaration) 
Overloads Sub InsertAt( _
   ByVal index As Integer, _
   ByVal rgb As Color, _
   ByVal position As Double _
) 
C# 
void InsertAt( 
   int index,
   Color rgb,
   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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Copyright © 2003-2010 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.