GetDisplayStatus()

Summary

Returns information on how features in a selection set are displayed on a map.

Syntax

status = GetDisplayStatus(string lyr_set_name)

Argument Contents
lyr_set_name The layer|set whose display status is obtained

Returns

A string indicating the set display status:

Status Meaning
Active Features are highlighted using the style settings for the selection set
Inactive Features are displayed using the default style settings for the layer. Style settings for the set are ignored
Invisible Features in the set are not displayed on the map

Notes

  • If a feature in the named selection set is also contained in other selection sets, the settings for those sets also affect the appearance of the feature.

  • If lyr_set_name is null, GetDisplayStatus() gets the display status of the entire current layer.

  • If lyr_set_name has a null selection set, GetDisplayStatus() gets the display status of the entire layer.

Error Codes

Error Type Meaning
NotFound There is no layer or set with the specified name

See Also

Function Summary
SetDisplayStatus() Changes how features in a selection set are displayed on a map