MapWinGIS:Shape DeletePoint

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

DeletePoint

Deletes a point in the shape.


VB.NET Usage

Function DeletePoint(PointIndex As Integer) As Boolean

            Parameters

PointIndex

The index of the point in the shape to be deleted.
ReturnValue A boolean value representing the success or failure of deleting the point in the shape.

Sample Code

    Private Sub DeletePoint()
        Dim shape As New MapWinGIS.Shape()
        Dim success As Boolean
        'Delete the point indexed by 0 in the shape
        success = shape.DeletePoint(0)
    End Sub
  

VB 6 Usage
Function DeletePoint(PointIndex As Long) As Boolean
            Parameters

PointIndex

The index of the point in the shape to be deleted.
ReturnValue A boolean value representing the success or failure of deleting the point in the shape.

Sample Code

    Private Sub DeletePoint()
        Dim shape As New MapWinGIS.shape
        Dim success As Boolean
        'Delete the point indexed by 0 in the shape
        success = shape.DeletePoint(0)
    End Sub

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

This page has been accessed 1,500 times. This page was last modified on 9 November 2005, at 16:58.