GM_Layer_tGetFeatureElevation Method
Gives the elevation of a feature. Set the name of the elevation attribute using GM_Layer_m.SetLayerElevationAttribute().

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

Syntax
C#
public GM_Error_t32 GetFeatureElevation(
	GM_FeatureClassType_t8 aFeatureClassType,
	uint aFeatureIndex,
	out float aElev
)

Parameters

aFeatureClassType
Type: GlobalMapperGM_FeatureClassType_t8
IN: Type of feature class (area, point, line)
aFeatureIndex
Type: SystemUInt32
IN: Index of feature in layer
aElev
Type: SystemSingle
OUT: Elevation of feature (in meters)

Return Value

Type: GM_Error_t32
A GM Error Code
See Also