FirstLabel Property

FirstLabel returns or sets the index of the first label of a color scale bar. The index is one-based. This means the first contour level is one, the next level is two, and so on. Returns an integer.

Syntax

object.FirstLabel

object. FirstLabel = First

Parameter

Type

Description

First

Integer

required

Example 1

This example demonstrates how to return the first labeled contour level.

Debug.Print DiscreteColorScale.FirstLabel

Example 2

This example demonstrates how to set the second contour as the first contour level labeled.

DiscreteColorScale.FirstLabel = 2

Used by: DiscreteColorScale object