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

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

Syntax
C#
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: GlobalMapperGM_Layer_t
IN: Layer the feature is in
aFeatureClassType
Type: GlobalMapperGM_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: GlobalMapperGM_Layer_t
IN: Layer to add new buffer area(s) to

Return Value

Type: GM_Error_t32
A GM Error Code
See Also