ArcObjects Library Reference (GeoDatabaseExtensions)  

ITerrainDataImporter.GetDataExtent Method

The XYZ extent of data contained in files/folders to be added.

[Visual Basic .NET]
Public Function GetDataExtent ( _
    ByVal pTargetSpatialReference As ISpatialReference _
) As IEnvelope
[C#]
public IEnvelope GetDataExtent (
    ISpatialReference pTargetSpatialReference
);
[C++]
HRESULT GetDataExtent(
  ISpatialReference* pTargetSpatialReference,
  IEnvelope** ppExt
);
[C++]

Parameters

pTargetSpatialReference [in]

  pTargetSpatialReference is a parameter of type ISpatialReference

ppExt [out, retval]

  ppExt is a parameter of type IEnvelope

Product Availability

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

Description

Returns the data extent of points in the files referenced by the importer. See AddFile and AddFolder.

LAS format LIDAR files contain the data extent in the header. From them, the extent can be extracted quickly. ASCII files, on the other hand, must be scanned to discover the extent. The time this will take is proportional to the amount of data to scan through.

See Also

ITerrainDataImporter Interface