MapWinGIS:Tin Save
From MapWindow GIS
Save
Saves the TIN object under the specified filename.
VB.NET Usage
Function Save(TinFilename As String, Optional cBack As MapWinGIS.ICallback) As Boolean
Parameters
|
TinFilename | The filename to be used to save the TIN. |
| cBack | Optional. The ICallback object which will receive progress and error messages while the TIN is saved. |
| ReturnValue | A boolean value representing the success or failure of saving the TIN. |
Sample Code
Private Sub SaveTIN()
Dim tin As New MapWinGIS.Tin()
Dim success As Boolean
'Open a TIN file
success = tin.Open("C:\test.tin", Me)
'Save a TIN file
success = tin.Save("C:\test2.tin", Me)
End Sub
VB 6 Usage
Function Save(TinFilename As String, Optional cBack As ICallback) As Boolean
Parameters
|
TinFilename | The filename to be used to save the TIN. |
| cBack | Optional. The ICallback object which will receive progress and error messages while the TIN is saved. |
| ReturnValue | A boolean value representing the success or failure of saving the TIN. |
Sample Code
Private Sub SaveTIN()
Dim tin As New MapWinGIS.tin
Dim success As Boolean
'Open a TIN file
success = tin.Open("C:\test.tin", Me)
'Save a TIN file
success = tin.Save("C:\test2.tin", Me)
End Sub
















