DiffuseLightColor Property
The DiffuseLightColor property returns or sets the diffuse light color of a surface. Returns an SrfColor value.
Syntax
object.DiffuseLightColor
object. DiffuseLightColor = Color
Parameter |
Type |
Description |
Color |
required |
Remarks
Use the enumeration [srfColorRed], RGB value [RGB(255,0,0)], or number [255] to set a color.
Example 1
This example shows how to return the diffuse light color.
Debug.Print "Diffuse light color = "; MapFrame4surface.DiffuseLightColor
Example 2
This example shows how to set the diffuse light color using the color number.
MapFrame4surface.DiffuseLightColor = 15532452
Used by: MapFrame object