阅读:2276回复:5
选择一个点,怎么得到它的OBJECTID?
<B>选择一个点,怎么得到它的OBJECTID?</B>
|
|
|
1楼#
发布于:2004-07-17 18:59
关注
|
|
2楼#
发布于:2004-07-18 09:42
ding
|
|
|
3楼#
发布于:2004-07-18 19:24
If Not .Object Is Nothing Then
If TypeOf .Object Is IFeature Then Dim pFeature As IFeature Set pFeature = .Object Debug.Print " Feature ID: " ; pFeature.<FONT style="BACKGROUND-COLOR: #000080" color=#ffffff>OID</FONT> End If End If |
|
|
4楼#
发布于:2004-07-23 15:49
OK!<img src="images/post/smile/dvbbs/em08.gif" />
|
|
|
5楼#
发布于:2004-07-29 11:18
<P>IFeature ipFeature=ipRowObj.Row as IFeature;</P><P>IRow ipRow=ipFeature as IRow;</P><P>IRowBuffer ipRowBuffer = ipRow;</P><P>ipRowBuffer.Fields.get_Field(i).Name </P><P>ipRowBuffer.get_Value(i).ToString();</P>
|
|