GM_Layer_tGetLocationElevation Method (Double, Double, Single) |
Retrieves the elevation at a given location from a provided layer or from the
list of currently loaded elevation layers (topmost elevation layer first).
Namespace:
GlobalMapper.Types
Assembly:
GlobalMapperWrapperNET45 (in GlobalMapperWrapperNET45.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax public GM_Error_t32 GetLocationElevation(
double aXCoord,
double aYCoord,
out float aElev
)
Public Function GetLocationElevation (
aXCoord As Double,
aYCoord As Double,
<OutAttribute> ByRef aElev As Single
) As GM_Error_t32
public:
GM_Error_t32 GetLocationElevation(
double aXCoord,
double aYCoord,
[OutAttribute] float% aElev
)
Parameters
- aXCoord
- Type: SystemDouble
IN: X coord in current projection - aYCoord
- Type: SystemDouble
IN: Y coord in current projection - aElev
- Type: SystemSingle
OUT: Elevation at location in meters
Return Value
Type:
GM_Error_t32A GM Error Code
See Also