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
)
Public Shared Function CreateBufferArea (
aFeatureLayer As GM_Layer_t,
aFeatureClassType As GM_FeatureClassType_t8,
aFeatureIndex As UInteger,
aBufferDistance As Double,
aBufferLayer As GM_Layer_t
) As GM_Error_t32
public:
static GM_Error_t32 CreateBufferArea(
GM_Layer_t^ aFeatureLayer,
GM_FeatureClassType_t8 aFeatureClassType,
unsigned int 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_t32A GM Error Code
See Also