GradientStops.Insert Method
Adds a stop to a gradient.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
Sub Insert ( _
RGB As Integer, _
Position As Single, _
Transparency As Single, _
Index As Integer _
)
'Usage
Dim instance As GradientStops
Dim RGB As Integer
Dim Position As Single
Dim Transparency As Single
Dim Index As Integer
instance.Insert(RGB, Position, Transparency, _
Index)
void Insert(
int RGB,
float Position,
float Transparency,
int Index
)
Parameters
RGB
Type: System.Int32Specifies the color at that the gradient stop.
Position
Type: System.SingleSpecifies the position of the stop within the gradient expressed as a percent.
Transparency
Type: System.SingleSpecifies the opacity of color at the gradient stop.
Index
Type: System.Int32The index number of the stop.
Remarks
Gradients are a smooth transition from one color state to another. The endpoints of these sections are called stops.