LightingMode Property

The LightingMode property returns or sets the Lighting Mode value. Returns a Long.

Syntax

object.LightingMode

object.LightingMode = LightingMode

 

Parameter Type Description
LightingMode Long required; grfLightingMode

 

Example 1

This example shows how to set the surface map lighting mode.

SurfLight.LightingMode = grfSmoothLighting

Example 2

This example shows how to set the 3D pie chart lighting mode.

PieLight.LightingMode = grfFlatLighting

 

Used by: AutoLightingObj object