问题描述:如题
解决方法:
IGeometryCollection polyline = feature.Shape as IGeometryCollection;//获取几何集
IPointCollection pc = polyline.Geometry[0] as IPointCollection;//第一个环(外环)点集
IPointCollection pc = polyline.Geometry[1] as IPointCollection;//第一个环(外环)点集
......
double polygonLength = (feature.Shape as IPolygon).Length;//环状要素周长。指的是外环周长+内环周长