ShowMajorLabels Property

ShowMajorLabels returns or sets the show labels state for major contour levels with the Simple or Logarithmic level method. Returns a Boolean.

Syntax

object.ShowMajorLabels

object.ShowMajorLabels = ShowMajorLabels

Parameter

Type

Description

ShowMajorLabels

Boolean

required, True to show major contour labels. False to hide labels.

Example 1

This example demonstrates how to return the show labels state for major contour levels.

Debug.Print ContourLayer.ShowMajorLabels

Example 2

This example demonstrates how to display major contour level labels.

ContourLayer.ShowMajorLabels = True

Used by: ContourLayer Object