MapWinGIS:AxMap ClearLabels

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

ClearLabels

Clears all labels that have been added to the specified layer.


VB.NET Usage

Sub ClearLabels(LayerHandle As Integer)

            Parameters

LayerHandle

Layer handle of the layer to clear labels from.

Sample Code

    Private Sub ClearAllLabels()
        Dim hndl As Integer
        'Get handle for layer 0
        hndl = Map1.get_LayerHandle(0)
        'Clear all labels in layer 0
        Map1.ClearLabels(hndl)
    End Sub
  

VB 6 Usage
Sub ClearLabels(LayerHandle As Long)
            Parameters

LayerHandle

Layer handle of the layer to clear labels from.

Sample Code

    Private Sub ClearAllLabels()
        Dim hndl As Long
        'Get handle for layer 0
        hndl = Map1.LayerHandle(0)
        'Clear all labels in layer 0
        Map1.ClearLabels (hndl)
    End Sub

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

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