MapWinGIS:Shapefile EditingTable
From MapWindow GIS
EditingTable
Gets whether or not the shapefile attribute table is set to allow editing.
VB.NET Usage
ReadOnly Property EditingTable() As Boolean
Parameters
|
ReturnValue | A boolean value representing whether or not the shapefile attribute table is set to allow editing. |
Sample Code
Private Sub ShapefileEditingTable()
Dim sf As New MapWinGIS.Shapefile()
Dim success As Boolean
'Check if the shapefile is in the mode to allow the attribute table to be edited
If sf.EditingTable Then
'Set the value of the field 0, shape 0 cell to 100
success = sf.EditCellValue(0, 0, 100)
End If
End Sub
VB 6 Usage
ReadOnly Property EditingTable() As Boolean
Parameters
|
ReturnValue | A boolean value representing whether or not the shapefile attribute table is set to allow editing. |
Sample Code
Private Sub ShapefileEditingTable()
Dim sf As New MapWinGIS.Shapefile
Dim success As Boolean
'Check if the shapefile is in the mode to allow the attribute table to be edited
If sf.EditingTable Then
'Set the value of the field 0, shape 0 cell to 100
success = sf.EditCellValue(0, 0, 100)
End If
End Sub
















