MapWinGIS:Shape DeletePart

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

DeletePart

Deletes a part from a shape.


VB.NET Usage

Function DeletePart(PartIndex As Integer) As Boolean

            Parameters

PartIndex

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

Sample Code

    Private Sub DeletePart()
        Dim shape As New MapWinGIS.Shape()
        Dim success As Boolean
        'Delete the part of index 0 in the shape
        success = shape.DeletePart(0)
    End Sub
  

VB 6 Usage
Function DeletePart(PartIndex As Long) As Boolean
            Parameters

PartIndex

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

Sample Code

    Private Sub DeletePart()
        Dim shape As New MapWinGIS.shape
        Dim success As Boolean
        'Delete the part of index 0 in the shape
        success = shape.DeletePart(0)
    End Sub

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

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