MapWinGIS:AxMap NumLayers

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

NumLayers

Gets the number of layers loaded in the map.


VB.NET Usage

ReadOnly Property NumLayers() As Integer

            Parameters

ReturnValue

The number of layers currently in the map.

Sample Code

    Private Sub NumLayers()
        Dim num As Integer
        'Get the number of layers currently in the map
        num = Map1.NumLayers
    End Sub
  

VB 6 Usage
ReadOnly Property NumLayers() As Long
            Parameters

ReturnValue

The number of layers currently in the map.

Sample Code

    Private Sub NumLayers()
        Dim num As Long
        'Get the number of layers currently in the map
        num = Map1.NumLayers
    End Sub

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

This page has been accessed 1,582 times. This page was last modified on 9 November 2005, at 19:04.