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


Xceed.Chart.Standard.v4.4 Assembly > Xceed.Chart.Standard Namespace > FillEffect Class : Specular Property
The specular color of the FillEffectBase.
Syntax
'Declaration
 
Public Property Specular As Color
'Usage
 
Dim instance As FillEffect
Dim value As Color
 
instance.Specular = value
 
value = instance.Specular
public Color Specular {get; set;}
Remarks
By default the specular color is set to White. This ensures that objects will appear brighter when the angle of the light from a particular light source and the normal vector of the surface decreases (or drops to zero). If you want to reduce this effect for a particular scene element you may consider changing this property.
Example
The following example diminishes the specular component of the left chart wall.
Dim chart As Chart = CType((ChartControl.Charts(0)), Chart)
Dim fillEffect As FillEffectBase =  chart.Wall(ChartWallType.Left).FillEffect 
fillEffect.SetSolidColor(Color.White)
fillEffect.Specular = Color.Gray
Chart chart = (Chart)(ChartControl.Charts[0]);
FillEffectBase fillEffect = chart.Wall(ChartWallType.Left).FillEffect;
fillEffect.SetSolidColor(Color.White);
fillEffect.Specular = Color.Gray;
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

FillEffect Class
FillEffect Members