MapWinGIS:ShapeNetwork Open

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

Open

Opens a shape network.
See also Shapefile


VB.NET Usage

Function Open(sf As MapWinGIS.Shapefile, Optional cBack As MapWinGIS.ICallback) As Boolean

            Parameters

sf

The shapefile object to open as a shape network.
cBack Optional. The ICallback object which will receive progress and error messages while the shape network is opened.
ReturnValue A boolean value representing the success or failure of opening the shape network.

Sample Code

    Private Sub OpenShapeNetwork()
        Dim sf As New MapWinGIS.Shapefile()
        Dim shapenetwork As New MapWinGIS.ShapeNetwork()
        'Open the shapefile
        sf.Open("C:\test.shp")
        'Open the shapefile as a shape network
        shapenetwork.Open(sf)
    End Sub
  

VB 6 Usage
Function Open(sf As Shapefile, Optional cBack As ICallback) As Boolean
            Parameters

sf

The shapefile object to open as a shape network.
cBack Optional. The ICallback object which will receive progress and error messages while the shape network is opened.
ReturnValue A boolean value representing the success or failure of opening the shape network.

Sample Code

    Private Sub OpenShapeNetwork()
        Dim sf As New MapWinGIS.Shapefile
        Dim shapenetwork As New MapWinGIS.shapenetwork
        'Open the shapefile
        sf.Open ("C:\test.shp")
        'Open the shapefile as a shape network
        shapenetwork.Open (sf)
    End Sub

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

This page has been accessed 1,179 times. This page was last modified on 9 November 2005, at 17:06.