Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Core.v4.4 Assembly / Xceed.Chart.Core Namespace / SurfaceSeriesBase Class / FillEffect Property
Example


In This Topic
    FillEffect Property (SurfaceSeriesBase)
    In This Topic
    Controls the fill effect applied to the surface. The user can modify the surface filling transparency, material properties like specular color, emissive color, shininess, as well as apply textures, gradients and patterns to the surface.
    Syntax
    'Declaration
     
    <CategoryAttribute("Appearance")>
    <DescriptionAttribute("Controls the fill effect applied to the surface.")>
    Public Property FillEffect As FillEffect
    'Usage
     
    Dim instance As SurfaceSeriesBase
    Dim value As FillEffect
     
    instance.FillEffect = value
     
    value = instance.FillEffect
    [Category("Appearance")]
    [Description("Controls the fill effect applied to the surface.")]
    public FillEffect FillEffect {get; set;}
    Example
    The code below applies a texture to the surface:
    surface.FillEffect.SetImage("c:\texture.jpg");
    surface.FillEffect.SetImage(@"c:\texture.jpg");
    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