Purpose
Returns information about a specific expression for a thematic layer in a map. You can call this function from the MapBasic window in MapInfo Pro.
Syntax
ThemeExpressionInfo ( map_window_id, thematic_layer_id, theme_expression_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_expression_id
is an Integer
that identifies an expression id.
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 | ThemeExpressionInfo() returns |
---|---|---|
THEME_EXPRESSION_INFO_STRING | 1 |
|
THEME_EXPRESSION_INFO_TYPE | 2 |
EXPRESSION_TYPE_CHAR (1) EXPRESSION_TYPE_DECIMAL (2) EXPRESSION_TYPE_INTEGER (3) EXPRESSION_TYPE_SMALLINT (4) EXPRESSION_TYPE_DATE (5) EXPRESSION_TYPE_LOGICAL (6) EXPRESSION_TYPE_GRAPHIC (7) EXPRESSION_TYPE_FLOAT (8) EXPRESSION_TYPE_TIME (37) EXPRESSION_TYPE_DATETIME (38) |
See Also: