Font Property [Legend]

 

The Font property returns a FontFormat object for legend text. This is a read-only property.

 

Syntax

object.Font( LayerName )

 

Parameter

Type

Description

LayerName

String

required; layer name

 

Example

This example changes the legend text font color for the layer named "Road Layer" to red.

 

Legend.Font("Layer #1").ForeColor = mvColorRed

 

Used by: Legend object