Set [Levels]

Set creates a level from each element of the specified array.

Syntax

object.Set( Levels )

Parameter

Type

Required/

Optional

Default

Description

Levels

Array of Doubles

Required

This provides the elevation value per level.

Example

This example demonstrates how to create custom levels.

Dim CustomLevels(0 to 5) As Double

CustomLevels(0) = 0

CustomLevels(1) = 17

CustomLevels(2) = 43

CustomLevels(3) = 56

CustomLevels(4) = 87

CustomLevels(5) = 100

Levels.Set(Levels:=CustomLevels)

Used by: Levels collection