ArcObjects Library Reference (GeoDatabase)  

ITinAdvanced2.SaveAsVersion Method

Saves the TIN to disk using the specified (full path) name.

[Visual Basic .NET]
Public Sub SaveAsVersion ( _
    ByVal newName As String, _
    ByVal ver As esriTinVersion, _
    [ByRef pOverWrite As Object] _
)
[C#]
public void SaveAsVersion (
    string newName,
    esriTinVersion ver,
    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 SaveAsVersion(
  BSTR newName,
  esriTinVersion ver,
  VARIANT* pOverWrite
);
[C++]

Parameters

newName [in]   newName is a parameter of type BSTR ver [in]

  ver is a parameter of type esriTinVersion

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

Saves the TIN to disk using the format, or version, specified by esriTinVersion.

If you need a TIN that is backwards compatible with ArcINFO Workstation, ArcView 3.x, and versions of ArcGIS 9.3.1 and prior, you must use esriTin70001. These packages will not recognized TINs saved using esriTin80001.

If the TIN is Delaunay conforming (see ITin.IsDelaunay, ITinEdit2.SetToConstrainedDelaunay) it can be saved to either esriTin70001 or esriTin80001. If it isn't it can only be saved to esriTin80001. An error will be raised if you attempt to save it to esriTin70001.

If the TIN has edge tag values (see ITin.HasEdgeTags) they will be dropped when saving to esriTin70001.

Node source information (see ITinNode2.Source) will be dropped when saving to esriTin70001.

Some spatial references are not supported with esriTin70001. Those which aren't will be excluded when saving to esriTin70001.

 

See Also

ITinAdvanced2 Interface