MapWinGIS:AxMap LayerPosition

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

LayerPosition

Gets the position of the specified layer in the map.


VB.NET Usage

ReadOnly Property get_LayerPosition(LayerHandle As Integer) As Integer

            Parameters

LayerHandle

The layer handle of the layer for which the layer position is required.
ReturnValue The layer position of the specified layer in the map.

Sample Code

    Private Sub LayerPosition()
        Dim hndl As Integer
        Dim lpos As Integer
        'Get the layer handle for the layer at position 0
        hndl = Map1.get_LayerHandle(0)
        'Get the layer position for the specified layer
        lpos = Map1.get_LayerPosition(hndl)
    End Sub
  

VB 6 Usage
ReadOnly Property LayerPosition(LayerHandle As Long) As Long
            Parameters

LayerHandle

The layer handle of the layer for which the layer position is required.
ReturnValue The layer position of the specified layer in the map.

Sample Code

    Private Sub LayerPosition()
        Dim hndl As Long
        Dim lpos As Long
        'Get the layer handle for the layer at position 0
        hndl = Map1.LayerHandle(0)
        'Get the layer position for the specified layer
        lpos = Map1.LayerPosition(hndl)
    End Sub

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

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