MapWinGIS:Shapefile Shape

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

Shape

Gets the shape in the shapefile specified by the index of the shape. Note: Null will be returned if an invalid shape index is specified
See also Shape


VB.NET Usage

ReadOnly Property Shape(ShapeIndex As Integer) As MapWinGIS.Shape

            Parameters

ShapeIndex

The index of the shape to be returned.
ReturnValue The shape in the shapefile specified by the shape index.

Sample Code

    Private Sub ShapefileShape()
        Dim sf As New MapWinGIS.Shapefile()
        Dim shape As New MapWinGIS.Shape()
        'Get shape 0 in the shapefile
        shape = sf.Shape(0)
    End Sub
  

VB 6 Usage
ReadOnly Property Shape(ShapeIndex As Long) As Shape
            Parameters

ShapeIndex

The index of the shape to be returned.
ReturnValue The shape in the shapefile specified by the shape index.

Sample Code

    Private Sub ShapefileShape()
        Dim sf As New MapWinGIS.Shapefile
        Dim shape As New MapWinGIS.shape
        'Get shape 0 in the shapefile
        shape = sf.shape(0)
    End Sub

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

This page has been accessed 3,452 times. This page was last modified on 9 November 2005, at 18:23.