Purpose
Returns information about a specific theme item for a thematic layer in a map.You can call this function from the MapBasic window in MapInfo Pro.
Syntax
ThemeItemInfo ( map_window_id, thematic_layer_id, theme_item_id, attribute )
map_window_id
is a Map window identifier.
thematic_layer_id
is a SmallInt
that identifies a thematic layer in a Map.
theme_item_id
is an Integer that identifies a theme item.
attribute
is a SmallInt
code indicating the type of information to return; see table below.
Return Value
Depends on the attribute
parameter.
Description
Theattribute
parameter can be any value from the table below.
attribute code | ID | ThemeItemInfo() returns |
---|---|---|
THEME_ITEM_INFO_VISIBLE | 1 | Logical result, representing whether a particular theme item is visible or not. |
THEME_ITEM_INFO_LABEL | 2 | String result, representing the label for the theme item. |
See Also: