EnableLight Property

 

The EnableLight property returns or sets the state of the prism map Enabling lighting option. Returns a Boolean.

 

Syntax

object.EnableLight

object.EnableLight = EnableLight

 

Parameter

Type

Description

EnableLight

Boolean

required; true to enable lighting

 

Example 1

This example enables lighting on a prism map.

 

PrismMap.EnableLight = True

 

Example 2

This example returns the state of lighting a prism map.

 

Debug.Print PrismMap.EnableLight

 

Used by: PrismMap object