GradientStops.Delete Method
Removes a gradient stop.
Syntax
expression.Delete(Index)
expression An expression that returns a GradientStops object.
Parameters
| Name | Required/Optional | Data Type | Description |
|---|---|---|---|
| Index | Optional | Integer | The index number of the gradient stop. |
Remarks
Gradients are a smooth transition from one color state to another. The endpoints of these sections are called stops.
Example
The following example adds three gradient color stops and then deletes the first gradient stop.
| Visual Basic for Applications |
|---|
|