Nevron .NET Vision
Nevron.GraphicsCore Namespace / NAdvancedGradientFillStyle Class / Init Method
The scheme (style) of the gradient.
The gradient subvariant within the style.


In This Topic
    Init Method (NAdvancedGradientFillStyle)
    In This Topic
    Loads a predefined advanced gradient.
    Syntax
    'Declaration
     
    
    Public Sub Init( _
       ByVal nScheme As AdvancedGradientScheme, _
       ByVal nVariant As System.Integer _
    ) 
    'Usage
     
    
    Dim instance As NAdvancedGradientFillStyle
    Dim nScheme As AdvancedGradientScheme
    Dim nVariant As System.Integer
     
    instance.Init(nScheme, nVariant)
    public void Init( 
       AdvancedGradientScheme nScheme,
       System.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