The CreateLegend method creates a legend. Returns a Legend object.
Syntax
object.CreateLegend( Left, Top )
Parameter |
Type |
Description |
Left |
Double |
required; in page units |
Top |
Double |
required; in page units |
Example
This example creates a legend for a map.
Map.CreateLegend( Left:=-2, Top:=6 )
Used by: Map object