MapWinGIS:Shapefile StartEditingTable
From MapWindow GIS
StartEditingTable
Sets the shapefile to allow the attribute table to be edited. Note: The shapefile must also be put in shape editing mode to allow shapes to be added or removed from the shapefile.
See also StopEditingTable
VB.NET Usage
Function StartEditingTable(Optional cBack As MapWinGIS.ICallback) As Boolean
Parameters
|
cBack | Optional. The ICallback object which will receive progress and error messages while the attribute table is changed to editing mode. |
| ReturnValue | A boolean value representing the success or failure of changing the attribute table to editing mode. |
Sample Code
Private Sub ShapefileEditTable()
Dim sf As New MapWinGIS.Shapefile()
Dim success As Boolean
'Set the shapefile attribute table to be in editing mode
success = sf.StartEditingTable(Me)
End Sub
VB 6 Usage
Function StartEditingTable(Optional cBack As ICallback) As Boolean
Parameters
|
cBack | Optional. The ICallback object which will receive progress and error messages while the attribute table is changed to editing mode. |
| ReturnValue | A boolean value representing the success or failure of changing the attribute table to editing mode. |
Sample Code
Private Sub ShapefileEditTable()
Dim sf As New MapWinGIS.Shapefile
Dim success As Boolean
'Set the shapefile attribute table to be in editing mode
success = sf.StartEditingTable(Me)
End Sub
















