DotDensityThemeInfo() function - MapBasic - 2023

MapInfo MapBasic Reference

Product type
Software
Portfolio
Locate
Product family
MapInfo
Product
MapInfo > MapBasic
Version
2023
Language
English
Product name
MapBasic
Title
MapInfo MapBasic Reference
First publish date
1985
Last updated
2023-09-12
Published on
2023-09-12T16:32:32.686312

Purpose

Returns information about a specific dot density thematic layer in a map. You can call this function from the MapBasic window in MapInfo Pro.

Syntax

DotDensityThemeInfo ( map_window_id, thematic_layer_id, attribute )

map_window_id is a Map window identifier.

thematic_layer_id is a SmallInt that identifies a dot density thematic layer in a Map.

attribute is a SmallInt code indicating the type of information to return; see table below.

Return Value

Depends on the attribute parameter.

Description

The attribute parameter can be any value from the table below.
Attribute code ID DotDensityThemeInfo() returns
DOTDENSITYTHEME_INFO_CONCE 1 Float result, representing a numeric value associated with each dot in a dot density map.
DOTDENSITYTHEME_INFO_SQUARE 2 Logical result (T or F) T if dots are square. F if they are circle.
DOTDENSITYTHEME_INFO_SIZE 3 Integer result, representing the size, in pixels, of each dot on a dot density theme.
DOTDENSITYTHEME_INFO_COLOR 4 Integer result, representing the RGB value for the color of the dots in a dot density theme.