对含有圆弧和几条线段首尾相接的区域进行填充,有下面语句:
Set outerLoop1(0) = ThisDrawing.ModelSpace.AddArc(center, radius, startAngle, endAngle) Set outerLoop1(1) = ThisDrawing.ModelSpace.AddLightWeightPolyline(outerLoop1(0).endpoint, ptArr1, outerLoop1(0).startpoint)
运行时出错, 有没有别的方法代替AddLightWeightPolyline, 使多个点相连形成区域? |