ArcEngine中如何将图形转换为要素

2024-11-25 10:51:51
推荐回答(1个)
回答1:

///


/// 向多边形shp中添加要素
///

/// 多边形
/// 多边形shp
public static void AddFeatureToFeatureClass(IPolygon pPolygon, IFeatureClass pFeatureClass)
{
IFeature pFeature = pFeatureClass.CreateFeature();
pFeature.Shape = pPolygon;
pFeature.Store();
}