Compartilhar via


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

    Represents the position in which to apply the ColorStop.

Return Value

Type: Microsoft.Office.Interop.Excel.ColorStop
ColorStop

See Also

Reference

ColorStops Interface

ColorStops Members

Microsoft.Office.Interop.Excel Namespace