Visual Basic: MSChart Control

Add Method (LightSources Collection)

See Also Example Applies To

Adds a LightSource object to the LightSources collection.


object.Add (x,y,z,intensity)

The Add method syntax has these parts:

Part Description
collection A object expression that evaluates to an object in the Applies To list.
x, y, z Integers. Indicate the light source location.
intensity Single. Indicates the light source intensity.


Setting x, y, and z to zero generates a VtChInvalidArgument error.