MapWinGIS:Shapefile StopEditingTable

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

StopEditingTable

Sets the shapefile to prevent the attribute table from being edited.
See also StartEditingTable


VB.NET Usage

Function StopEditingTable(Optional ApplyChanges As Boolean, Optional cBack As MapWinGIS.ICallback) As Boolean

            Parameters

ApplyChanges

Optional. A boolean value representing whether the changes to the attribute table are saved or not. The default is True.
cBack Optional. The ICallback object which will receive progress and error messages while the attribute table is set to prevent editing.
ReturnValue A boolean value representing the success or failure of setting the shapefile to prevent editing of the attribute table.

Sample Code

    Private Sub ShapefileStopEditingTable()
        Dim sf As New MapWinGIS.Shapefile()
        Dim success As Boolean
        'Stop editing the shapefile attribute table, saving changes to the attribute table
        success = sf.StopEditingTable(True, Me)
    End Sub
  

VB 6 Usage
Function StopEditingTable(Optional ApplyChanges As Boolean, Optional cBack As ICallback) As Boolean
            Parameters

ApplyChanges

Optional. A boolean value representing whether the changes to the attribute table are saved or not. The default is True.
cBack Optional. The ICallback object which will receive progress and error messages while the attribute table is set to prevent editing.
ReturnValue A boolean value representing the success or failure of setting the shapefile to prevent editing of the attribute table.

Sample Code

    Private Sub ShapefileStopEditingTable()
        Dim sf As New MapWinGIS.Shapefile
        Dim success As Boolean
        'Stop editing the shapefile attribute table, saving changes to the attribute table
        success = sf.StopEditingTable(True, Me)
    End Sub

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

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