Click or drag to resize

GM_UtilityCreateBufferArea Method

Create a buffer area some distance around the specified feature (not implemented on WinCE)

Namespace:  GlobalMapper
Assembly:  GlobalMapperWrapperNET45 (in GlobalMapperWrapperNET45.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax
public static GM_Error_t32 CreateBufferArea(
	GM_Layer_t aFeatureLayer,
	GM_FeatureClassType_t8 aFeatureClassType,
	uint aFeatureIndex,
	double aBufferDistance,
	GM_Layer_t aBufferLayer
)

Parameters

aFeatureLayer
Type: GlobalMapper.TypesGM_Layer_t
IN: Layer the feature is in
aFeatureClassType
Type: GlobalMapper.TypesGM_FeatureClassType_t8
IN: Type of feature class (area, point, line)
aFeatureIndex
Type: SystemUInt32
IN: Index of feature in layer
aBufferDistance
Type: SystemDouble
IN: Distance in meters of buffer to create (use negative values to create a buffer inside an area feature)
aBufferLayer
Type: GlobalMapper.TypesGM_Layer_t
IN: Layer to add new buffer area(s) to

Return Value

Type: GM_Error_t32
A GM Error Code
See Also