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


IGlobeDisplay.GetSurfaceElevation Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GlobeCore)  

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,
  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 VARIANT_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