MapWinGIS:Shapefile SaveAs

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

SaveAs

Saves the shapefile using the specfied filename.


VB.NET Usage

Function SaveAs(ShapefileName As String, cBack As MapWinGIS.ICallback) As Boolean

            Parameters

ShapefileName

The filename to use when saving the shapefile.
cBack The ICallback object which will receive progress and error messages while the shapefile is being saved.
ReturnValue A boolean value representing the success or failure of saving the shapfile.

Sample Code

    Private Sub ShapefileSaveAs()
        Dim sf As New MapWinGIS.Shapefile()
        Dim success As Boolean
        'Save the shapefile
        success = sf.SaveAs("C:\test.shp", Me)
    End Sub
  

VB 6 Usage
Function SaveAs(ShapefileName As String, cBack As ICallback) As Boolean
            Parameters

ShapefileName

The filename to use when saving the shapefile.
cBack The ICallback object which will receive progress and error messages while the shapefile is being saved.
ReturnValue A boolean value representing the success or failure of saving the shapfile.

Sample Code

    Private Sub ShapefileSaveAs()
        Dim sf As New MapWinGIS.Shapefile
        Dim success As Boolean
        'Save the shapefile
        success = sf.SaveAs("C:\test.shp", Me)
    End Sub

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

This page has been accessed 2,352 times. This page was last modified on 9 November 2005, at 18:25.