MapWinGIS:Shapefile SaveAs
From MapWindow GIS
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
















