Click or drag to resize

GM_Layer_tGetFeatureElevation Method

Gives the elevation of a feature. Set the name of the elevation attribute using SetLayerElevationAttribute.

Namespace:  GlobalMapper.Types
Assembly:  GlobalMapperWrapperNET45 (in GlobalMapperWrapperNET45.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax
public GM_Error_t32 GetFeatureElevation(
	GM_FeatureClassType_t8 aFeatureClassType,
	uint aFeatureIndex,
	out float aElev
)

Parameters

aFeatureClassType
Type: GlobalMapper.TypesGM_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