Removes measurements from a terrain data source (feature class).
[Visual Basic .NET] Public Sub DeleteDataSourceData ( _ ByVal index As Integer, _ ByVal pAOI As IEnvelope, _ ByVal pTrackCancel As ITrackCancel _ )
[C#] public void DeleteDataSourceData ( int index, IEnvelope pAOI, ITrackCancel pTrackCancel );
[C++]
HRESULT DeleteDataSourceData(
long index,
IEnvelope* pAOI,
ITrackCancel* pTrackCancel
);
[C++]Parameters
index [in] index is a parameter of type long pAOI [in]pAOI is a parameter of type IEnvelope
pTrackCancel [in]pTrackCancel is a parameter of type ITrackCancel
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
The input index is the terrain data source index of the embedded feature class. Valid values range from 0 to ITerrain.DataSourceCount-1.
The pAOI argument is the area of interest envelope that's used to indicate where to remove measurements.
pTrackCancel is a pointer to a CancelTracker object.
Notes
- Deleting data source data will create dirty tiles in the terrain. You will need to (re)build the terrain afterward. See ITerrainEdit.Build.