Xceed Chart for WinForms v4.4 Documentation
EnableLighting Property


Xceed.Chart.Standard.v4.4 Assembly > Xceed.Chart.Standard Namespace > LightModel Class : EnableLighting Property
Enables/disables the lighting effects.
Syntax
'Declaration
 
<DefaultValueAttribute()>
<CategoryAttribute("General")>
<DescriptionAttribute("Enables/disables the lighting effects.")>
Public Property EnableLighting As Boolean
'Usage
 
Dim instance As LightModel
Dim value As Boolean
 
instance.EnableLighting = value
 
value = instance.EnableLighting
[DefaultValue()]
[Category("General")]
[Description("Enables/disables the lighting effects.")]
public bool EnableLighting {get; set;}
Remarks
When lighting is turned off, all lighting properties (light sources and materials) are discarded and have no effect on the rendered scene. By default the lighting is enabled. You can disable it to increase the rendering performance or in case that lighting effects are not really necessary (for example in 2D charts).
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

LightModel Class
LightModel Members