GetSelectedLabel()

Summary

Returns the layer name and ID of the last label clicked on.

Changes

Added to Version 6.0/2012.

Syntax

opts = GetSelectedLabel()

Returns

An options array with the following options:

Option Type Contents
Layer String The layer name of the map feature for the label
ID Integer The ID of the map feature for the label

See Also

Function Summary
ClickLabel() Allows the user to move, with optional callouts, or rotate labels on the map to customize them
GetHiddenLabelDisplayStatus() Gets the status of whether labels that are otherwise hidden are displayed in a lighter shade
GetLabelOverride() Gets the label override settings for a map feature
SetHiddenLabelDisplayStatus() Sets the status of whether labels that are otherwise hidden are displayed in a lighter shade
SetLabelOverride() Sets the label override settings for a map feature