Lights Property

3D Graph Control

Lights Property

Syntax

Set CWGraph3D.Lights

Data Type

CWLights

Purpose

Specifies a collection of CWLights.

Remarks

This collection always has four CWLight objects.

Lights are used to create highlights and shadows that enhance visualization of 3D data. You can configure a Light object programmatically or in the property pages.

Example

'Select and enable a Light object
CWGraph3D1.Lights.Item(4).Enabled = True

See Also

AmbientLightColor

Lighting

Spinning Light Example