|
阅读:834回复:0
[求助]Identify问题
<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" /> |
|