SetSimpleLevels

SetSimpleLevels sets the simple contour levels minimum, maximum, and contour interval values.

Syntax

object.SetSimpleLevels( Min, Max, Interval )

Parameter

Type

Required/

Optional

Default

Description

Min

Double

Required

This is the minimum contour level.

Max

Double

Required

This is the maximum contour level.

Interval

Double

Required

This is the contour interval.

Remarks

Using the SetSimpleLevels method automatically changes the LevelMethod property to SrfConLevelMethodSimple.

Example 1

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

ContourLayer.SetSimpleLevels(Min:=2500, Max:=4400, Interval:=500)

Example 2

The following example demonstrates how to set the contour interval while using the current minimum and maximum contour levels.

ContourLayer.SetSimpleLevels(Min:=ContourLayer.LevelMinimum, Max:=ContourLayer.LevelMaximum, Interval:=50)

Used by: ContourLayer Object