MapWinGIS:GridColorScheme UsePredefined
From MapWindow GIS
UsePredefined
Loads the values into the color scheme from pre-defined color scheme.
See also PredefinedColorScheme
VB.NET Usage
Sub UsePredefined(LowValue As Double, HighValue As Double, Optional Preset As MapWinGIS.PredefinedColorScheme)
Parameters
|
LowValue | The lowest value in the grid. |
| HighValue | The highes value in the grid. |
| Preset | Optional. The pre-defined color scheme to be used. The default is MapWinGIS.PredefinedColorScheme.SummerMountains. |
Sample Code
Private Sub PredefinedScheme()
Dim grid As New MapWinGIS.Grid()
Dim scheme As New MapWinGIS.GridColorScheme()
'Set the color scheme to be a predefined color scheme SummerMountains
scheme.UsePredefined(grid.Minimum, grid.Maximum, MapWinGIS.PredefinedColorScheme.SummerMountains)
End Sub
VB 6 Usage
Sub UsePredefined(LowValue As Double, HighValue As Double, Optional Preset As PredefinedColorScheme)
Parameters
|
LowValue | The lowest value in the grid. |
| HighValue | The highes value in the grid. |
| Preset | Optional. The pre-defined color scheme to be used. The default is SummerMountains. |
Sample Code
Private Sub PredefinedScheme()
Dim grid As New MapWinGIS.grid
Dim scheme As New MapWinGIS.GridColorScheme
'Set the color scheme to be a predefined color scheme SummerMountains
scheme.UsePredefined grid.Minimum, grid.Maximum, SummerMountains
End Sub
















