ArcObjects Library Reference (GeoDatabase)  

ITin.SaveAs Method

Saves the TIN to disk using the specified name.

[Visual Basic .NET]
Public Sub SaveAs ( _
    ByVal newName As String, _
    [ByRef pOverWrite As Object] _
)
[C#]
public void SaveAs (
    string newName,
    ref object pOverWrite
);
[C#]

Optional Values

pOverWrite   To indicate that this parameter is undefined, first define a variable object Missing = Type.Missing; then pass this in as ref Missing.
[C++]
HRESULT SaveAs(
  BSTR newName,
  VARIANT* pOverWrite
);
[C++]

Parameters

newName [in]   newName is a parameter of type BSTR pOverWrite [optional]   pOverWrite is a parameter of type VARIANT

  To indicate this parameter is undefined pass a reference to a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

SaveAs saves the TIN to disk using the specified name. The interface pointer will reference the saved TIN after the call is made.

Remarks

Use SaveAs for copying a TIN and for saving any edits made to a TIN.

See Also

ITin Interface

.NET Related Topics

How to access a difference surface when intersecting TINs and terrains