ColorScale Property [Wireframe and ContourLayer]

ColorScale returns the color scale bar object if enabled. Returns a DiscreteColorScale object. This is a read-only property.

Syntax

object.ColorScale

Example 1

This example demonstrates how to return the face of a font.

Debug .Print ContourLayer.ColorScale.LabelFont.Face = "Times New Roman"

Example 2

This example demonstrates how to change the width of the color scale frame to 0.05 page units.

Wireframe.ColorScale.FrameLine.Width = 0.05

Used by: ContourLayer Object, Wireframe object