LightModel Property

LightModel returns or sets the light model for surface maps. Returns a SrfLightModel.

Syntax

object.LightModel

object.LightModel = Model

Parameter

Type

Description

Model

srfLightModel

required

Example 1

This example shows how to return the light model.

Debug.Print "LightModel = "; MapFrame4surface.LightModel

Example 2

This example shows how to set the light model to flat.

MapFrame4surface.LightModel = srfLMFlat

Used by: MapFrame object