MapWinGIS:Shape Part

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

Part

Gets or sets the first point index in the specified part.


VB.NET Usage

Property Part(PartIndex As Integer) As Integer

            Parameters

PartIndex

The index of the part for which the first point index is required.
ReturnValue The index of the first point in the specified part.

Sample Code

    Private Sub PartIndex()
        Dim shape As New MapWinGIS.Shape()
        Dim pointindex As Integer
        'Set the pointindex value
        pointindex = 0
        'Set the first point in part 0
        shape.Part(0) = pointindex
        'Get the first point in part 0
        pointindex = shape.Part(0)
    End Sub
  

VB 6 Usage
Property Part(PartIndex As Long) As Long
            Parameters

PartIndex

The index of the part for which the first point index is required.
ReturnValue The index of the first point in the specified part.

Sample Code

    Private Sub PartIndex()
        Dim shape As New MapWinGIS.shape
        Dim pointindex As Long
        'Set the pointindex value
        pointindex = 0
        'Set the first point in part 0
        shape.Part(0) = pointindex
        'Get the first point in part 0
        pointindex = shape.Part(0)
    End Sub

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

This page has been accessed 2,031 times. This page was last modified on 9 November 2005, at 16:57.