MapWinGIS:AxMap LayerLabelsShadowColor

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

LayerLabelsShadowColor

Gets and sets the shadow color for the labels on the layer.
See also LayerLabelsShadow


VB.NET Usage

Property set_LayerLabelsShadowColor(LayerHandle As Integer, param0 As System.UInt32)

            Parameters

LayerHandle

The layer handle of the layer for which the shadow color is to be set.
param0 The color to use as the shadow color of the specified layer. This is a System.UInt32 representation of an RGB color.


Property get_LayerLabelsShadowColor(LayerHandle As Integer) As System.Drawing.Color
            Parameters

LayerHandle

The layer handle of the layer for which the shadow color is to be set.
ReturnValue The color to use as the shadow color of the specified layer. This is a System.UInt32 representation of an RGB color.

Sample Code

    Public Sub LayerLabelsShadowColor()
        Dim hndl As Integer
        Dim color As System.Drawing.Color
        'Get the layer handle for the layer at position 0
        hndl = Map1.get_LayerHandle(0)
        'Get the label shadow color for the layer
        color = Map1.get_LayerLabelsShadowColor(hndl)
        'Set the label shadow color for the layer
        Map1.set_LayerLabelsShadowColor(hndl, System.Convert.ToUInt32(RGB(color.R, color.G, color.B)))
    End Sub
  

VB 6 Usage


Property LayerLabelsShadowColor(LayerHandle As Long) As OLE_COLOR

            Parameters

LayerHandle

The layer handle of the layer for which the shadow color is to be set.
ReturnValue The color to use as the shadow color of the specified layer.

Sample Code

    Public Sub LayerLabelsShadowColor()
        Dim hndl As Long
        Dim color As OLE_COLOR
        'Get the layer handle for the layer at position 0
        hndl = Map1.layerhandle(0)
        'Get the label shadow color for the layer
        color = Map1.LayerLabelsShadowColor(hndl)
        'Set the label shadow color for the layer
        Map1.LayerLabelsShadowColor(hndl) = color
    End Sub

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

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