ShadingMethod Property

The ShadingMethod property has been deprecated. Use a ColorReliefLayer object with TerrainRepresentation set to srfTerrainRepresentationReflectance instead. The analogous property is the ReflectanceMethod property.

ShadingMethod returns or sets the shading method for a shaded relief map. Returns a SrfSRShading.

Syntax

object.ShadingMethod

object. ShadingMethod = Method

Parameter

Type

Description

Method

SrfSRShading

required

Example 1

This example demonstrates how to return the shading method of a shaded relief map.

Debug.Print ReliefLayer.ShadingMethod

Example 2

This example demonstrates how to apply the Lambertian reflection shading method to a shaded relief map.

ReliefLayer.ShadingMethod = srfSRLambertian

Used by: ReliefLayer Object