SpreadsheetGear
PresetGradient Method
See Also  Send Feedback
SpreadsheetGear.Shapes Namespace > IFillFormat Interface : PresetGradient Method

gradientStyle
Specifies the style and direction of the gradient fill.
presetGradientType
Specifies the type of preset gradient.
Sets this fill to a preset gradient fill.

Syntax

Visual Basic (Declaration) 
Sub PresetGradient( _
   ByVal gradientStyle As GradientStyle, _
   ByVal presetGradientType As PresetGradientType _
) 
C# 
void PresetGradient( 
   GradientStyle gradientStyle,
   PresetGradientType presetGradientType
)

Parameters

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

Requirements

Platforms: Windows 2000, Windows XP, Windows Vista, Windows Server 2003 and Windows Server 2008. SpreadsheetGear 2009 requires the Microsoft .NET Framework 2.0 and supports .NET 3.0 and .NET 3.5.

See Also

Copyright © 2003-2009 SpreadsheetGear LLC. All Rights Reserved.Help Powered by Innovasys   
SpreadsheetGear is a registered trademark of SpreadsheetGear LLC.
Microsoft, Microsoft Excel and Visual Studio are trademarks or registered trademarks of Microsoft Corporation.