Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Standard.v4.4 Assembly / Xceed.Chart.Standard Namespace / FillEffect Class / SetAdvancedGradient Method


In This Topic
    SetAdvancedGradient Method
    In This Topic
    Use this function to apply an advanced gradient fill effect. Note that this function will also change the current Mapping.
    Syntax
    'Declaration
     
    Public Sub SetAdvancedGradient( _
       ByVal advancedGradient As AdvancedGradientFill _
    ) 
    'Usage
     
    Dim instance As FillEffect
    Dim advancedGradient As AdvancedGradientFill
     
    instance.SetAdvancedGradient(advancedGradient)
    public void SetAdvancedGradient( 
       AdvancedGradientFill advancedGradient
    )

    Parameters

    advancedGradient
    Remarks
    An advanced gradient is defined by its background color and color points each of them having properties for color, position, style and others. When you pass an advanced gradient description to this method it will automatically change the fill effect type to FillEffectType.AdvancedGradient and create an internal texture with dimensions [256x256] representing the gradient image. The function will also replace the current FillEffectMapping object with a texture mapper with stretched layout type and object linear map mode. For more information see the topics under the "Fill Effects" book in the Users Guide.
    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