ColorScale Property [ColorReliefLayer, Surface, and VectorLayer]

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

Syntax

object.ColorScale

Example 1

This example demonstrates how to return the size of the color scale labels in points.

Debug .Print ColorReliefLayer.ColorScale.LabelFont.Size

Example 2

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

VectorLayer.ColorScale.FrameLine.Width = 0.05

Used by: ColorReliefLayer Object, Surface object, VectorLayer Object