XlsGradientStop Constructor (OColor, Int32, Int32)
|
Initializes a new instance of the XlsGradientStop class with the specified color, position, and transparency.
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(
OColor color,
int position,
int transparency
)
Public Sub New (
color As OColor,
position As Integer,
transparency As Integer
)
public:
XlsGradientStop(
OColor^ color,
int position,
int transparency
)
new :
color : OColor *
position : int *
transparency : int -> XlsGradientStop
Parameters
-
color
-
Type:
Spire.Xls
OColor
The color of the gradient stop.
-
position
-
Type:
System
Int32
The position of the gradient stop.
-
transparency
-
Type:
System
Int32
The transparency level of the gradient stop.
Return Value
Type:
An instance of XlsGradientStop.
See Also