SetLogarithmicLevels

SetLogarithmicLevels sets the logarithmic contour levels minimum, maximum, and minor levels per decade values.

Syntax

object.SetLogarithmicLevels( Min, Max, LevelsInDecade )

Parameter

Type

Required/

Optional

Default

Description

Min

Double

Required

This is the minimum contour level.

Max

Double

Required

This is the maximum contour level.

LevelsInDecade

Long

Required

This is the number of minor contour levels in each decade.

Remarks

Using the SetLogarithmicLevels method automatically changes the LevelMethod property to SrfConLevelMethodLogarithmic.

Example 1

The following example demonstrates how to set the logarithmic contour levels for a contour layer.

ContourLayer.SetLogarithmicLevels(Min:=0.001, Max:=4400, LevelsInDecade:=8)

Example 2

The following example demonstrates how to set the number of minor levels in each decade while using the current minimum and maximum contour levels.

ContourLayer.SetLogarithmicLevels(Min:=ContourLayer.LevelMinimum, Max:=ContourLayer.LevelMaximum, LevelsInDecade:=9)

Used by: ContourLayer Object