ColorScheme property

Returns the color scheme used by the data map. The tables below indicate the value (0–15) corresponding to each color scheme, by map type. Read-only Long.

Applies to

Collections:  DataRanges

Methods:  DisplayDataMap

Syntax

object.ColorScheme

Parameters

Part Description
object Required. An expression that returns a DataRanges collection.

Example

    Sub GetInfoAboutDataMap()
    Dim objApp As New MapPoint.Application
    Dim objDataMap As MapPoint.DataMap

    'Set up application and objects to use     objApp.Visible = True     objApp.UserControl = True
    'Let user create data map     Set objDataMap = objApp.ActiveMap.DataSets.ShowDataMappingWizard()
    'Get information about the set just created     MsgBox "Color scheme ID: " & objDataMap.DataRanges.ColorScheme   End Sub

Color schemes available with Shaded Area and Shaded Circle maps

0 (green to white)
0
1 (purple to white)
1
2 (red to white)
2
3 (orange to white)
3
4 (maroon to white)
4
5 (brown to white)
5
6 (gray to white)
6
7 (blue gray to white)
7
8 (green to yellow)
8
9 (purple to yellow)
9
10 (red to yellow)
10
11 (brown to yellow)
11
12 (blue to yellow)
12
13 (red to white to blue)
13
14 (orange to green)
14
15 (full spectrum)
15

Color schemes available with Sized Circle maps

0 (green)
0
1 (purple)
1
2 (red)
2
3 (orange)
3
4 (maroon)
4
5 (light brown)
5
6 (green gray)
6
7 (blue gray)
7
8 (light green)
8
9 (yellow)
9
10 (light orange)
10
11 (brown)
11
12 (blue)
12
13 (pink)
13
14 (yellow green)
14
15 (light purple)
15

Color schemes available with Series Column Chart maps

0 (red)
0
1 (yellow)
1
2 (blue)
2
3 (light green)
3
4 (purple)
4
5 (light orange)
5
6 (green)
6
7 (light blue)
7
8 (orange)
8
9 (pink)
9
10 (maroon)
10
11 (light purple)
11
12 (brown)
12
13 (olive)
13
14 (gray)
14
15 (light gray)
15