Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.GraphicsCore.v4.4 Assembly / Xceed.Chart.GraphicsCore Namespace / LightModelBase Class / SetPredefinedScheme Method


    SetPredefinedScheme Method
    Configures the object to use a predefined light scheme.
    Syntax
    'Declaration
     
    Public Sub SetPredefinedScheme( _
       ByVal lightScheme As LightScheme _
    ) 
     
    'Usage
     
    Dim instance As LightModelBase
    Dim lightScheme As LightScheme
     
    instance.SetPredefinedScheme(lightScheme)

    Parameters

    lightScheme
    Remarks
    The function automatically enables lighting, creates one or more light sources with predefined settings and places them in the LightSources collection. After loading the predefined scheme you can modify the parameters of individual light sources to customize the lighting effect.
    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