MapWinGIS:AxMap ShapeLayerFillStipple

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

ShapeLayerFillStipple

Gets or sets the fill stipple for the specified layer. Only works on polygon shapefiles.
See also tkFillStipple


VB.NET Usage

Property set_ShapeLayerFillStipple(LayerHandle As Integer, param0 as MapWinGIS.tkFillStipple
)

            Parameters

LayerHandle

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

param0

Sets fill stipple for the specified layer.

Property get_ShapeLayerFillStipple(LayerHandle As Integer) As MapWinGIS.tkFillStipple
            Parameters

LayerHandle

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

Return Value

Gets the fill stipple for the specified layer.

Sample Code

    Private Sub FillStipple()
        Dim hnd As Integer
        Dim stp As MapWinGIS.tkFillStipple
        'Get the handle for the layer at position 0
        hnd = Map1.get_LayerHandle(0)
        'Get the fill stipple of layer 0 in Map1
        stp = Map1.get_ShapeLayerFillStipple(hnd)
        'Set the fill stipple of layer 0 in Map1 to polka dot
        Map1.set_ShapeLayerFillStipple(hnd, MapWinGIS.tkFillStipple.fsPolkaDot)
    End Sub
  

VB 6 Usage

Property ShapeLayerFillStipple(LayerHandle As Long) As tkFillStipple


            Parameters

LayerHandle Handle of the layer.
Return Value Gets the fill stipple for the specified layer.

Sample Code

    Private Sub FillStipple()
        Dim hnd As Long
        Dim stp As MapWinGIS.tkFillStipple
        'Get the handle for the layer at position 0
        hnd = Map1.LayerHandle(0)
        'Get the fill stipple of layer 0 in Map1
        stp = Map1.ShapeLayerFillStipple(hnd)
        'Set the fill stipple of layer 0 in Map1 to polka dot
        Map1.ShapeLayerFillStipple(hnd) = MapWinGIS.tkFillStipple.fsPolkaDot
    End Sub

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

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