MapWinGIS:AxMap LayerLabelsShadow

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

LayerLabelsShadow

Gets or sets whether to use shadows for the labels on the layer.
See also LayerLabelsShadowColor


VB.NET Usage

Property set_LayerLabelsShadow(LayerHandle As Integer, param0 As Boolean)

            Parameters

LayerHandle

The handle of the layer for which the use of label shadows is to be set.
param0 A boolean value representing whether or not label shadows will be used for the specified layer.

Property get_LayerLabelsShadow(LayerHandle As Integer) As Boolean             Parameters

LayerHandle

The handle of the layer for which the use of label shadows is to be set.
ReturnValue A boolean value representing whether or not label shadows are being used for the specified layer.

Sample Code

    Public Sub LayerLabelsShadow()
        Dim hndl As Integer
        'Get the layer handle for the layer at position 0
        hndl = Map1.get_LayerHandle(0)
        'Check whether the labels have shadows for the layer
        If Map1.get_LayerLabelsShadow(hndl) Then
            'Set the layer's labels not to use shadows
            Map1.set_LayerLabelsShadow(hndl, False)
        Else
            'Set the layer's labels to use shadows
            Map1.set_LayerLabelsShadow(hndl, True)
        End If
    End Sub
  

VB 6 Usage
Property LayerLabelsShadow(LayerHandle As Long) As Boolean             Parameters

LayerHandle

The handle of the layer for which the use of label shadows is to be set.
ReturnValue A boolean value representing whether or not label shadows are used for the specified layer.

Sample Code

    Public Sub LayerLabelsShadow()
        Dim hndl As Long
        'Get the layer handle for the layer at position 0
        hndl = Map1.layerhandle(0)
        'Check whether the labels have shadows for the layer
        If Map1.LayerLabelsShadow(hndl) Then
            'Set the layer's labels not to use shadows
            Map1.LayerLabelsShadow(hndl) = False
        Else
            'Set the layer's labels to use shadows
            Map1.LayerLabelsShadow(hndl) = True
        End If
    End Sub

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

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