LayerName Property
Returns the name of the layer represented in the legend. This is a read-only property.
Syntax
object.LayerName
Parameter |
Type |
Description |
LayerName |
String |
required |
Example
This example demonstrates how to print the name of the layer for this legend.
Debug.Print SymbologyLegend.LayerName
Used by: PostLegend object, SymbologyLegend object, VectorLegend object