SpreadsheetGear 2017
PresetGradient Method (IFillFormat)






SpreadsheetGear.Shapes Namespace > IFillFormat Interface : PresetGradient Method
Specifies the style and direction of the gradient fill.
Specifies the type of preset gradient.
Sets this fill to a preset gradient fill.
Syntax
'Declaration
 
Sub PresetGradient( _
   ByVal gradientStyle As GradientStyle, _
   ByVal presetGradientType As PresetGradientType _
) 
'Usage
 
Dim instance As IFillFormat
Dim gradientStyle As GradientStyle
Dim presetGradientType As PresetGradientType
 
instance.PresetGradient(gradientStyle, presetGradientType)

Parameters

gradientStyle
Specifies the style and direction of the gradient fill.
presetGradientType
Specifies the type of preset gradient.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IFillFormat Interface
IFillFormat Members