Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Graphics Namespace / LightSettings Class / Color Property
Example

In This Topic
    Color Property (LightSettings)
    In This Topic
    Gets or sets the light color.
    Syntax
    'Declaration
     
    Public Property Color As Color
    public Color Color {get; set;}
    Example
    The following code fragment demonstrates how to change the light color at run-time.
    myViewport.Light2.Color = Color.Red;
    myViewport.ProcessLightAttributes();
    MyViewport.Light2.Color = Color.Red
    MyViewport.ProcessLightAttributes()
    See Also