Shade statement - 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

Creates a thematic map layer and adds it to an existing Map window. You can issue this statement from the MapBasic window in MapInfo Pro.

Description

The Shade statement creates a thematic map layer and adds the layer to an existing Map window. The Shade statement corresponds to MapInfo Pro's Add Theme command. For an introduction to thematic mapping and the Add Theme command, see the MapInfo Pro Help System.

Between sessions, MapInfo Pro preserves thematic settings by storing a Shade statement in the workspace file. Thus, to see an example of the Shade statement, you could create a Map, choose the Add Theme command, save the workspace (for example, THEME.WOR), and examine the workspace in a MapBasic text edit window. You could then copy the Shade statement in your MapBasic program. Similarly, you can see examples of the Shade statement by opening MapInfo Pro's MapBasic window before you choose Add Theme command.