GM_Utility .CreateBufferArea 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#
Copy
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 . GM_Layer_t
IN: Layer the feature is in
aFeatureClassType
Type:  GlobalMapper . GM_FeatureClassType_t8
IN: Type of feature class (area, point, line)
aFeatureIndex
Type:  System . UInt32
IN: Index of feature in layer
aBufferDistance
Type:  System . Double
IN: Distance in meters of buffer to create (use negative values to create a buffer inside an area feature)
aBufferLayer
Type:  GlobalMapper . GM_Layer_t
IN: Layer to add new buffer area(s) to

Return Value

Type:  GM_Error_t32
A GM Error Code
See Also