huishi
路人甲
路人甲
  • 注册日期2005-10-13
  • 发帖数27
  • QQ
  • 铜币236枚
  • 威望0点
  • 贡献值0点
  • 银元0个
阅读:1227回复:0

[求助]ISegmentCollection.AddSegment参数设置的问题

楼主#
更多 发布于:2007-11-26 16:30
<P>ISegmentCollection pSegColl;<BR>pSegColl = pPolyLine as ISegmentCollection;<BR>pSegColl.<FONT color=#f73809>AddSegment(pLine as ISegment, , );</FONT></P>
<P>我省略后面两个参数总是出错</P>
<P>做如下处理也是不行<FONT color=#000000></FONT></P>
<P>ISegmentCollection pSegColl;<BR>pSegColl = pPolyLine as ISegmentCollection;<BR>Object pObject1;<BR>Object pObject2;<BR>pObject1 = null;<BR>pObject2 = null;<BR>pSegColl.AddSegment(pLine as ISegment, ref pObject1, ref pObject2);</P>
<P>提示信息为</P>
<P>The Add method only accepts either a before index or an after index</P>
<P>我是想把后两个参数给省略</P>
<P>应该怎么办</P>
<P>谢谢俄</P>
喜欢0 评分0
游客

返回顶部