追风浪子
路人甲
路人甲
  • 注册日期2004-06-08
  • 发帖数166
  • QQ
  • 铜币782枚
  • 威望0点
  • 贡献值0点
  • 银元0个
阅读:1180回复:1

看看这两个参数

楼主#
更多 发布于:2004-08-27 10:12
<P>IGeometryCollection.AddGeometry(ipPolygon,a,b);</P>
<P>在vb中a,b两个参数是可选择的,但在c#中必须给以设置。</P>
<P>那为高手知道后面这两个参数是什么意思。。。。</P><img src="images/post/smile/dvbbs/em12.gif" /><img src="images/post/smile/dvbbs/em12.gif" /><img src="images/post/smile/dvbbs/em12.gif" /><img src="images/post/smile/dvbbs/em12.gif" /><img src="images/post/smile/dvbbs/em12.gif" /><img src="images/post/smile/dvbbs/em12.gif" />
喜欢0 评分0
gis
gis
管理员
管理员
  • 注册日期2003-07-16
  • 发帖数15951
  • QQ
  • 铜币25345枚
  • 威望15368点
  • 贡献值0点
  • 银元0个
  • GIS帝国居民
  • 帝国沙发管家
  • GIS帝国明星
  • GIS帝国铁杆
1楼#
发布于:2004-08-30 07:55
<P>帮助里的内容:</P><P>object.AddGeometry (inGeometry [,before] [,after] )</P><P>Remarks</P><P>When applying the AddGeometry method give either the before or after index and not both. Adding a Geometry to the collection as the first one is done by setting the before index as 0.
 </P>dim m_pGeoColl as IGeometryCollectionset m_pGeoColl = new multipoint Private Sub btnAddFirst_Click()
Dim pPoint As IPoint
Set pPoint = New point
pPoint.PutCoords CDbl(edtX.Text), CDbl(edtY.Text)
m_pGeoColl.AddGeometry pPoint, 0
End Sub
GIS麦田守望者,期待与您交流。
举报 回复(0) 喜欢(0)     评分
游客

返回顶部