This document is archived and information here might be outdated.  Recommended version.


ITinAdvanced2.SaveAsVersion Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITinAdvanced2 Interface > ITinAdvanced2.SaveAsVersion Method
ArcGIS Developer Help

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++]
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 [in, optional]
pOverWrite is a parameter of type VARIANT*

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