MapWinGIS:Shapefile EditingTable

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

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

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

This page has been accessed 1,606 times. This page was last modified on 9 November 2005, at 18:20.