默认头像
路人甲
路人甲
  • 注册日期2006-07-03
  • 发帖数34
  • QQ
  • 铜币230枚
  • 威望0点
  • 贡献值0点
  • 银元0个
阅读:1456回复:1

急切地问个要素选择的问题,请指点

楼主#
更多 发布于:2006-07-04 08:43

,我想通过鼠标点击后的得到一个要素并显示它的属性

鼠标点击后得到坐标,然后转为地图坐标

再调用selectshape函数

但我不知道该函数的参数怎样设置,还有得到的feature放到哪了,请指点啊谢谢了

object.SelectByShape (Shape, env, justOne )

The SelectByShape method syntax has the following object qualifier and arguments:

Part Description
object An object expression that evaluates to an object in the Applies To list.
Shape Required. An IGeometry object.
env Required. An ISelectionEnvironment object.
justOne Required. A Boolean expression that represents the justOne state.

喜欢0 评分0
默认头像
路人甲
路人甲
  • 注册日期2003-08-24
  • 发帖数409
  • QQ
  • 铜币1295枚
  • 威望0点
  • 贡献值0点
  • 银元0个
1楼#
发布于:2006-07-06 23:04

不是通过这种途径实现的,可以查看一下开发包中的例子:Select

GIS GSI IGS ISG SIG SGI
举报 回复(0) 喜欢(0)     评分
默认头像

返回顶部