XlsShapeFill
PresetGradient Method (GradientPresetType)
|
Sets the specified XlsFill to a preset gradient.
Namespace:
Spire.Xls.Core.Spreadsheet.Shapes
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public virtual void PresetGradient(
GradientPresetType grad
)
Public Overridable Sub PresetGradient (
grad As GradientPresetType
)
public:
virtual void PresetGradient(
GradientPresetType grad
)
abstract PresetGradient :
grad : GradientPresetType -> unit
override PresetGradient :
grad : GradientPresetType -> unit
Parameters
-
grad
-
Type:
Spire.Xls
GradientPresetType
Represents preset gradient type.
Implements
IShapeFill
PresetGradient(GradientPresetType)
See Also