fisher7468
路人甲
路人甲
  • 注册日期2007-09-20
  • 发帖数7
  • QQ
  • 铜币165枚
  • 威望0点
  • 贡献值0点
  • 银元0个
阅读:834回复:0

[求助]Identify问题

楼主#
更多 发布于:2007-11-14 17:31
<P>   IArray pIDArray;<BR>   IIdentify pIdentify=null;<BR>   IFeatureIdentifyObj  pFeatureIdentifyObj ;<BR>   IIdentifyObj pIdentifyObj;</P>
<P>     pIdentify = (IIdentify)pMap.get_Layer(i);<BR>      pIDArray = pIdentify.Identify(pSrchEnv); <BR>      if( pIDArray!=null)<BR>      {<BR>       pFeatureIdentifyObj = (IFeatureIdentifyObj)pIDArray.get_Element(0) ;<BR>       pIdentifyObj = (IIdentifyObj)pFeatureIdentifyObj ;<BR>       pIdentifyObj.Flash( pActiveView.ScreenDisplay);<BR>       pIndentifyObjects.Add(pFeatureIdentifyObj);</P>
<P>}</P>
<P>我怎么才能得到当前选中的Feature 啊,或是ID也行,我只是在pIdentifyObj里看到Feature的Name,但是有些Feature没名字啊,有些是查不到的</P><img src="images/post/smile/dvbbs/em02.gif" />
喜欢0 评分0
游客

返回顶部