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


ITinEdit2.SaveSnapshot Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

ITinEdit2.SaveSnapshot Method

Saves a snapshot of the TIN that is been edited to disk.

[Visual Basic .NET]
Public Sub SaveSnapshot ( _
    ByVal Name As String, _
    ByVal bOverWrite As Boolean _
)
[C#]
public void SaveSnapshot (
    string Name,
    bool bOverWrite
);
[C++]
HRESULT SaveSnapshot(
  BSTR Name,
  VARIANT_BOOL bOverWrite
);
[C++]

Parameters Name [in] Name is a parameter of type BSTR bOverWrite [in] bOverWrite is a parameter of type VARIANT_BOOL

Product Availability

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

Description

Saves a copy of the TIN, based on its current state in memory, to disk. This differs from ITinAdvanced.SaveAs and ITinEdit.SaveAs because those methods point the TIN object to the saved version of the TIN whereas SaveSnapshot does not.

sName is the full output path to the new TIN.

bOverWrite should be set to FALSE if the output should not be replaced if it already exists. An error will be returned if the output already exists. If it's okay to replace the output then set bOverWrite to TRUE.

See Also

ITinEdit2 Interface