MapWinGIS:ShapefileColorScheme LayerHandle

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

LayerHandle

Gets or sets the layer handle the color scheme is associated with.


VB.NET Usage

Property LayerHandle() As Integer

            Parameters

ReturnValue

The layer handle of the layer the color scheme is associated with.

Sample Code

    Private Sub ColorSchemeLayerHandle()
        Dim colorscheme As New MapWinGIS.ShapefileColorScheme()
        Dim layerhandle As Integer
        'Set the layer handle of the layer to associate the color scheme with
        layerhandle = 0
        'Set the color scheme layerhandle
        colorscheme.LayerHandle = layerhandle
        'Get the color scheme layerhandle
        layerhandle = colorscheme.LayerHandle
    End Sub
  

VB 6 Usage
Property LayerHandle() As Long
            Parameters

ReturnValue

The layer handle of the layer the color scheme is associated with.

Sample Code

    Private Sub ColorSchemeLayerHandle()
        Dim colorscheme As New MapWinGIS.ShapefileColorScheme
        Dim layerhandle As Long
        'Set the layer handle of the layer to associate the color scheme with
        layerhandle = 0
        'Set the color scheme layerhandle
        colorscheme.layerhandle = layerhandle
        'Get the color scheme layerhandle
        layerhandle = colorscheme.layerhandle
    End Sub

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

This page has been accessed 1,521 times. This page was last modified on 9 November 2005, at 17:12.