MapWinGIS:GridColorScheme UsePredefined

This is a back-up of the WIKI.
Not all links might work
We're working on a new wiki.

Main Page | Recent changes | View source | Page history | Log in / create account |

Printable version | Disclaimers | Privacy policy

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

Retrieved from "http://mapwindow.org/wiki/index.php/MapWinGIS:GridColorScheme_UsePredefined"

This page has been accessed 1,506 times. This page was last modified on 9 November 2005, at 16:38.