GradientMethod Property

The GradientMethod property has been deprecated. Use a ColorReliefLayer with TerrainRepresentation set to srfTerrainRepresentationReflectance instead.

GradientMethod returns or sets the gradient method. Returns a SrfSRGradient.

Syntax

object.GradientMethod

object.GradientMethod = Method

Parameter

Type

Description

Method

SrfSRGradient

required

Example 1

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

Debug.Print ReliefLayer.GradientMethod

Example 2

This example demonstrates how to utilize the central difference gradient method.

ReliefLayer.GradientMethod = srfSRCentral

Used by: ReliefLayer Object