ColorScaleMethod Property

ColorScaleMethod returns or sets the color scale method in a vector map. Returns a SrfVecColorMethod.

Syntax

object.ColorScaleMethod

object. ColorScaleMethod = Method

Parameter

Type

Description

Method

SrfVecColorMethod

required

Remarks

If the srfVecGrid method is selected, nothing will occur until a valid grid file is set with ColorGridFile.

Example 1

This example demonstrates how to return the color scale method.

Debug .Print VectorLayer.ColorScaleMethod

Example 2

This example demonstrates how to base the vector scale color on magnitude.

VectorLayer.ColorScaleMethod = srfVecMagnitude

Used by: VectorLayer Object