GM_Layer_tGetPixelElevationRow Method (GM_Layer_t, Int32, Single, Single)
Retrieves an entire row of elevation values from the provided layer.

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

Syntax
C#
public static GM_Error_t32 GetPixelElevationRow(
	GM_Layer_t aLayer,
	int aRow,
	out float[] aElevRow,
	float aInvalidVal
)

Parameters

aLayer
Type: GlobalMapperGM_Layer_t
IN: Layer to get elevation from
aRow
Type: SystemInt32
IN: Y coord of pixel (0 is topmost)
aElevRow
Type: SystemSingle
(float*) OUT: Buffer to hold elevation values for row in meters
aInvalidVal
Type: SystemSingle
IN: Value to use for invalid samples (i.e. -9999.9)

Return Value

Type: GM_Error_t32
A GM Error Code
See Also