MapWinGIS:Shapefile EditingShapes
From MapWindow GIS
EditingShapes
Gets whether or not the shapefile is in shape editing mode.
VB.NET Usage
ReadOnly Property EditingShapes() As Boolean
Parameters
|
ReturnValue | A boolean value representing whether the shapefile is in the mode to allow shapes to be edited. |
Sample Code
Private Sub ShapefileEditingShapes()
Dim sf As New MapWinGIS.Shapefile()
'Check if the shapefile is in the mode to allow shapes to be edited
If sf.EditingShapes Then
'Delete point 5 in shape 0 in the shapefile
sf.Shape(0).DeletePoint(5)
End If
End Sub
VB 6 Usage
ReadOnly Property EditingShapes() As Boolean
Parameters
|
ReturnValue | A boolean value representing whether the shapefile is in the mode to allow shapes to be edited. |
Sample Code
Private Sub ShapefileEditingShapes()
Dim sf As New MapWinGIS.Shapefile
'Check if the shapefile is in the mode to allow shapes to be edited
If sf.EditingShapes Then
'Delete point 5 in shape 0 in the shapefile
sf.shape(0).DeletePoint (5)
End If
End Sub
















