ReflectanceMethod Property

ReflectanceMethod returns or sets the shading method for a color relief map with reflectance terrain representation. Returns a SrfReflectanceMethod.

Syntax

object.ReflectanceMethod

object.ReflectanceMethod = ReflectanceMethod

Parameter

Type

Description

ReflectanceMethod

SrfReflectanceMethod

required; method for calculating the reflectance shading applied to the color relief layer: simple, Peucker's approximation, Lambertian reflectance, or Lommel-Seeliger law

Remarks

The TerrainRepresentation property must be set to srfTerrainRepresentationReflectance for the ReflectanceMethod property to have an effect on the map appearance.

Example 1

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

Debug.Print ColorReliefLayer.ReflectanceMethod

Example 2

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

ColorReliefLayer.ReflectanceMethod = srfReflectanceMethodLambertian

Used by: ReliefLayer Object