This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > GlobeCore > ESRI.ArcGIS.GlobeCore > Interfaces > IG > IGlobeDisplay Interface > IGlobeDisplay.GetSurfaceElevation Method (ArcObjects .NET 10.4 SDK) |
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