Xceed Chart for WinForms v4.4 Documentation
FillEffect Property (SurfaceSeriesBase)
Example 


Xceed.Chart.Core.v4.4 Assembly > Xceed.Chart.Core Namespace > SurfaceSeriesBase Class : FillEffect Property
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
 
<DescriptionAttribute("Controls the fill effect applied to the surface.")>

<CategoryAttribute("Appearance")>

Public Property FillEffect As FillEffect
'Usage
 
Dim instance As SurfaceSeriesBase

Dim value As FillEffect

 

instance.FillEffect = value

 

value = instance.FillEffect
[Description("Controls the fill effect applied to the surface.")]

[Category("Appearance")]

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

Reference

SurfaceSeriesBase Class
SurfaceSeriesBase Members