MapWinGIS:AxMap GetColorScheme

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

GetColorScheme

Returns the color scheme for the specified layer.


VB.NET Usage

Function GetColorScheme(LayerHandle As Integer) As Object

            Parameters

LayerHandle

The layer handle of the layer for which the coloring scheme is required
Return Value The color scheme for the specified layer.

Sample Code

    Private Sub ColorScheme()
        Dim hnd As Integer
        Dim clscheme As MapWinGIS.ShapefileColorScheme
        'Get handle for layer 0
        hnd = Map1.get_LayerHandle(0)
        'Get color scheme for layer 0
        clscheme = Map1.GetColorScheme(hnd)
    End Sub
  

VB 6 Usage


Function GetColorScheme(LayerHandle As Long) As Object

            Parameters

LayerHandle

The layer handle of the layer for which the coloring scheme is required.
Return Value The color scheme for the specified layer.

Sample Code

    Private Sub ColorScheme()
        Dim hnd As Long
        Dim clscheme As MapWinGIS.ShapefileColorScheme
        'Get handle for layer 0
        hnd = Map1.LayerHandle(0)
        'Get color scheme for layer 0
        clscheme = Map1.GetColorScheme(hnd)
    End Sub

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

This page has been accessed 1,730 times. This page was last modified on 9 November 2005, at 18:31.