ColorStops.Add Method
Adds a ColorStop object to the specified collection.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function Add ( _
Position As Double _
) As ColorStop
'Usage
Dim instance As ColorStops
Dim Position As Double
Dim returnValue As ColorStop
returnValue = instance.Add(Position)
ColorStop Add(
double Position
)
Parameters
Position
Type: System.DoubleRepresents the position in which to apply the ColorStop.
Return Value
Type: Microsoft.Office.Interop.Excel.ColorStop
ColorStop