GM_Layer_tGetPixelElevation Method (Int32, Int32, Single)
Retrieves the elevation at a given pixel location in the provided layer.

Namespace:  GlobalMapper
Assembly: GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 18.0.0.0 (18.0.0.0)

Syntax
C#
public GM_Error_t32 GetPixelElevation(
	int aRow,
	int aCol,
	out float aElev
)

Parameters

aRow
Type: SystemInt32
IN: Y coord of pixel (0 is topmost)
aCol
Type: SystemInt32
IN: X coord of pixel (0 is leftmost)
aElev
Type: SystemSingle
OUT: Elevation at location in meters

Return Value

Type: GM_Error_t32
A GM Error Code
See Also