Xceed Chart for WinForms v4.4 Documentation
SetPredefindedAdvancedGradient Method


Xceed.Chart.GraphicsCore.v4.4 Assembly > Xceed.Chart.GraphicsCore Namespace > AdvancedGradientFill Class : SetPredefindedAdvancedGradient Method
The scheme (style) of the gradient.
The gradient subvariant within the style.
Loads a predefined advanced gradient.
Syntax
'Declaration
 
Public Sub SetPredefindedAdvancedGradient( _

   ByVal nScheme As AdvancedGradientScheme, _

   ByVal nVariant As Integer _

) 
'Usage
 
Dim instance As AdvancedGradientFill

Dim nScheme As AdvancedGradientScheme

Dim nVariant As Integer

 

instance.SetPredefindedAdvancedGradient(nScheme, nVariant)
public void SetPredefindedAdvancedGradient( 

   AdvancedGradientScheme nScheme,

   int nVariant

)

Parameters

nScheme
The scheme (style) of the gradient.
nVariant
The gradient subvariant within the style.
Remarks
There are 24 types of predefined gradient styles each having 15 variants. When you load a predefined gradient all previous contents of the advanced gradient description object will be lost.
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

AdvancedGradientFill Class
AdvancedGradientFill Members