Legend Property [ClassedPostLayer]

Legend returns the legend object if enabled. Returns a PostLegend object. This is a read-only property.

Syntax

object.Legend

Example 1

This example demonstrates how to return the legend title of a classed post map.

Debug.Print ClassedPostLayer.Legend.Title

Example 2

This example demonstrates how to set the face of the labels within a classed post map legend to Arial.

ClassedPostLayer.Legend.LabelFont.Face =Arial

Used by: ClassedPostLayer Object