SpreadsheetGear 2017
OneColorGradient Method (IFillFormat)






SpreadsheetGear.Shapes Namespace > IFillFormat Interface : OneColorGradient Method
Specifies the style and direction of the gradient fill.
Specifies the gradient degree as a value from 0.0 (dark) to 1.0 (light).
Sets this fill to a one-color gradient fill.
Syntax
'Declaration
 
Sub OneColorGradient( _
   ByVal gradientStyle As GradientStyle, _
   ByVal degree As System.Double _
) 
'Usage
 
Dim instance As IFillFormat
Dim gradientStyle As GradientStyle
Dim degree As System.Double
 
instance.OneColorGradient(gradientStyle, degree)
void OneColorGradient( 
   GradientStyle gradientStyle,
   System.double degree
)
procedure OneColorGradient( 
    gradientStyle: GradientStyle;
    degree: System.Double
); 
function OneColorGradient( 
   gradientStyle : GradientStyle,
   degree : System.double
);
void OneColorGradient( 
   GradientStyle gradientStyle,
   System.double degree
) 
void OneColorGradient( 
   GradientStyle gradientStyle,
   System.double degree
) 

Parameters

gradientStyle
Specifies the style and direction of the gradient fill.
degree
Specifies the gradient degree as a value from 0.0 (dark) to 1.0 (light).
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