MapWinGIS:AxMap ShapeLayerLineStipple

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

ShapeLayerLineStipple

Gets or sets the line stipple for the specified layer. Only works on shapefiles.
See also tkLineStipple


VB.NET Usage

Property set_ShapeLayerLineStipple(LayerHandle As Integer, param0 as MapWinGIS.tkLineStipple
)
            Parameters

LayerHandle

Handle of the layer for which the line stipple is to be set.

param0

Line stipple for the shapefile.

Property get_ShapeLayerLineStipple(LayerHandle As Integer) As MapWinGIS.tkLineStipple
            Parameters

LayerHandle

Handle of the layer for which the line stipple is required.

Return Value

Line stipple for the shapefile.

Sample Code

    Private Sub LineStipple()
        Dim hnd As Integer
        Dim t As MapWinGIS.tkPointType
        'Get the handle for the layer at position 0
        hnd = Map1.get_LayerHandle(0)
        'Get the point type for layer 0 in Map1
        t = Map1.get_ShapeLayerLineStipple(hnd)
        'Set the point type for layer 0 in Map1 to circle
        Map1.set_ShapeLayerLineStipple(hnd, MapWinGIS.tkPointType.ptCircle)
    End Sub
  

VB 6 Usage

Property ShapeLayerLineStipple(LayerHandle As Long) As tkLineStipple


            Parameters

LayerHandle Handle of the layer.
Return Value Line stipple for the layer

Sample Code

    Private Sub LineStipple()
        Dim hnd As Long
        Dim t As MapWinGIS.tkPointType
        'Get the handle for the layer at position 0
        hnd = Map1.LayerHandle(0)
        'Get the point type for layer 0 in Map1
        t = Map1.ShapeLayerLineStipple(hnd)
        'Set the point type for layer 0 in Map1 to circle
        Map1.ShapeLayerLineStipple(hnd) = ptCircle
    End Sub

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

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