GradientStops
Add Method (Color, Int32, Int32, Int32, Int32)
|
Adds a gradient stop to the gradient fill.
Namespace:
Spire.Xls.Core.Spreadsheet.Shapes
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public XlsGradientStop Add(
Color color,
int position,
int transparency,
int tint,
int shade
)
Public Function Add (
color As Color,
position As Integer,
transparency As Integer,
tint As Integer,
shade As Integer
) As XlsGradientStop
public:
XlsGradientStop^ Add(
Color color,
int position,
int transparency,
int tint,
int shade
)
member Add :
color : Color *
position : int *
transparency : int *
tint : int *
shade : int -> XlsGradientStop
Parameters
-
color
-
Type:
System.Drawing
Color
The color of the gradient stop.
-
position
-
Type:
System
Int32
The position of the gradient stop.
-
transparency
-
Type:
System
Int32
The transparency of the gradient stop.
-
tint
-
Type:
System
Int32
The tint of the gradient stop.
-
shade
-
Type:
System
Int32
The shade of the gradient stop.
Return Value
Type:
XlsGradientStop
The added gradient stop.
See Also