Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Standard.v4.4 Assembly / Xceed.Chart.Standard Namespace / LightModel Class / EnableLighting Property


EnableLighting Property
Enables/disables the lighting effects.
Syntax
'Declaration
 
<CategoryAttribute("General")>
<DescriptionAttribute("Enables/disables the lighting effects.")>
<DefaultValueAttribute(True)>
Public Property EnableLighting As Boolean
 
'Usage
 
Dim instance As LightModel
Dim value As Boolean
 
instance.EnableLighting = value
 
value = instance.EnableLighting
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