MapWinGIS:AxMap ShapeLayerPointSize

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

ShapeLayerPointSize

Gets or sets the line point/vertex size for the specified layer. Only works on shapefiles.


VB.NET Usage

Property set_ShapeLayerPointSize(LayerHandle As Integer, param0 as Single
)
            Parameters

LayerHandle

Handle of the layer for which the point/vertex size is to be set.

param0

Point/vertex size for the shapefile.

Property get_ShapeLayerPointSize(LayerHandle As Integer) As Single
            Parameters

LayerHandle

Handle of the layer for which the point/vertex size is required.

Return Value

Point/vertex size for the shapefile.

Sample Code

    Private Sub PointSize()
        Dim hnd As Integer
        Dim size As Single
        'Get the handle for the layer at position 0
        hnd = Map1.get_LayerHandle(0)
        'Get the point/vertex size for layer 0 in Map1
        size = Map1.get_ShapeLayerPointSize(hnd)
        'Set the point/vertex size for layer 0 in Map1
        Map1.set_ShapeLayerPointSize(hnd, 3)
    End Sub
  

VB 6 Usage

Property ShapeLayerPointSize(LayerHandle As Long) As Single


            Parameters

LayerHandle Handle of the layer.
Return Value Point/vertex size for the layer

Sample Code

    Private Sub PointSize()
        Dim hnd As Long
        Dim size As Single
        'Get the handle for the layer at position 0
        hnd = Map1.LayerHandle(0)
        'Get the point/vertex size for layer 0 in Map1
        size = Map1.ShapeLayerPointSize(hnd)
        'Set the point/vertex size for layer 0 in Map1
        Map1.ShapeLayerPointSize(hnd) = 3
    End Sub

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

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