MapWinGIS:Shapefile EditingShapes

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

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

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

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