Legend Property [VectorLayer]
Legend returns the vector map legend scale object if enabled. Returns a VectorLegend object. This is a read-only property.
Syntax
object.Legend
Example 1
This example demonstrates how to return the legend title of a vector map.
Debug.Print VectorLayer.Legend.Title
Example 2
This example demonstrates how to vertically align symbols within a legend.
VectorLayer.Legend.Layout(Layout:=srfVecLegVert)
Used by: VectorLayer Object