arcengine中关于feature.shape显示不支持此类型
该图层的类型是polyline,我想创建一个弧线如下代码:
ICircularArc parc=new CircularArcClass();
parc.PutCoords(pPoint,pPoint1,pPoint2,esriArcOrientation.esriArcMinor);
w.StartEditing(true);
w.StartEditOperation();
f = fc.CreateFeature();
f.Shape = parc;
fr.WriteFeature(f);
w.StopEditOperation();
w.StopEditing(true);
在f.shape报错显示不支持此类型,我想知道如何将CircularArc的shape传到f中
ICircularArc parc=new CircularArcClass();
parc.PutCoords(pPoint,pPoint1,pPoint2,esriArcOrientation.esriArcMinor);
w.StartEditing(true);
w.StartEditOperation();
f = fc.CreateFeature();
f.Shape = parc;
fr.WriteFeature(f);
w.StopEditOperation();
w.StopEditing(true);
在f.shape报错显示不支持此类型,我想知道如何将CircularArc的shape传到f中
1 个回复
朱新颖
赞同来自: 陈晨 、lovelylife
要回复问题请先登录或注册