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 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
Color schemes available with Sized Circle maps
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
Color schemes available with Series Column Chart maps
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |