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


IGlobeDisplay.GetSurfaceElevation Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GlobeCore > ESRI.ArcGIS.GlobeCore > Interfaces > IG > IGlobeDisplay Interface > IGlobeDisplay.GetSurfaceElevation Method
ArcGIS Developer Help

IGlobeDisplay.GetSurfaceElevation Method

Find the elevation of a point in the given geographical location.

[Visual Basic .NET]
Public Sub GetSurfaceElevation ( _
    ByVal longitude As Double, _
    ByVal latitude As Double, _
    ByVal bGetMaxResolution As Boolean, _
    ByRef pElevationInMeters As Double _
)
[C#]
public void GetSurfaceElevation (
    double longitude,
    double latitude,
    bool bGetMaxResolution,
    ref double pElevationInMeters
);
[C++]
HRESULT GetSurfaceElevation(
  double longitude,
  double latitude,
  VARIANT_BOOL bGetMaxResolution,
  System.Double* pElevationInMeters
);
[C++]
Parameters
longitude [in]

longitude is a parameter of type double latitude [in]
latitude is a parameter of type double bGetMaxResolution [in]
bGetMaxResolution is a parameter of type bool pElevationInMeters [out]
pElevationInMeters is a parameter of type double*

Product Availability

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

See Also

IGlobeDisplay Interface