MapWinGIS:AxMap ShapeFillStipple

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

ShapeFillStipple

Gets or sets the fill stipple for the specified shape. Only works on polygon shapefiles.
See also [MapWinGIS:tkFillStipple tkFillStipple]


VB.NET Usage

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

            Parameters

LayerHandle

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

param0

Sets fill stipple for the specified shape.

Property get_ShapeFillStipple(LayerHandle As Integer, Shape As Integer) As MapWinGIS.tkFillStipple
            Parameters

LayerHandle

Handle of the layer contianing the shape for which the fill stipple is required.
Shape Handle of the shape for which the fill stipple is required.

Return Value

Gets the fill stipple for the specified shape.

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 shape 0 in the layer
        stp = Map1.get_ShapeFillStipple(hnd, 0)
        'Set the fill stipple of shape 0 in the layer to polka dot
        Map1.set_ShapeFillStipple(hnd, 0, MapWinGIS.tkFillStipple.fsPolkaDot)
    End Sub
  

VB 6 Usage

Property ShapeFillStipple(LayerHandle As Long, Shape As Long) As tkFillStipple


            Parameters

LayerHandle Handle of the layer.
Shape Handle of the shape.
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 shape 0 in the layer
        stp = Map1.ShapeFillStipple(hnd, 0)
        'Set the fill stipple of shape 0 in the layer to polka dot
        Map1.ShapeFillStipple(hnd, 0) = MapWinGIS.tkFillStipple.fsPolkaDot
    End Sub

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

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