MapWinGIS:Shape DeletePoint
From MapWindow GIS
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
















