|
阅读:1194回复:2
创建了一些多边形,想合并它,却遇到了下列问题
<P>创建了一些多边形,想合并它,却遇到了下列问题</P>
<P>Private pGeometryCollection As IGeometryCollection</P> <P>pGeometryCollection.AddGeometry pPolygon(i)</P> <P>Dim strtemp As Integer</P> <P>strtemp = pGeometryCollection.GeometryCount MsgBox strtemp</P> <P>结果为0是哪里出了问题?</P> |
|
|
1楼#
发布于:2005-03-23 21:54
pGeometryCollection 是不是应该new一下
|
|
|
2楼#
发布于:2005-03-24 15:29
pGeometryCollection.AddGeometryCollection pPolygon
|
|