阅读:1451回复:1
急切地问个要素选择的问题,请指点
<P> ,我想通过鼠标点击后的得到一个要素并显示它的属性</P>
<P>鼠标点击后得到坐标,然后转为地图坐标</P> <P>再调用selectshape函数</P> <P>但我不知道该函数的参数怎样设置,还有得到的feature放到哪了,请指点啊谢谢了</P> <P><I>object</I>.<B>SelectByShape</B> <B>(</B><I>Shape</I>, <I>env</I>, <I>justOne</I><B> )</B></P> <P>The <B>SelectByShape</B> method syntax has the following object qualifier and arguments:</P> <P> <TABLE cellSpacing=4 cols=2 cellPadding=4> <TR vAlign=top> <TH width="15%">Part</TH> <TH width="85%">Description</TH></TR> <TR vAlign=top> <TD class=t width="15%"><I>object</I></TD> <TD class=t width="85%">An <a>object expression</A> that evaluates to an object in the Applies To list.</TD></TR> <TR vAlign=top> <TD class=t width="15%"><I>Shape</I></TD> <TD class=t width="85%">Required. An <B><a href="ms-its:esriGeometry.chm::/IGeometry.htm" target="_blank" >IGeometry</A></B> object.</TD></TR> <TR vAlign=top> <TD class=t width="15%"><I>env</I></TD> <TD class=t width="85%">Required. An <B><a href="mk:@MSITStore:D:\ArcGIS\DeveloperKit\Help\COM\VB\esriCarto.chm::/ISelectionEnvironment.htm" target="_blank" >ISelectionEnvironment</A></B> object.</TD></TR> <TR vAlign=top> <TD class=t width="15%"><I>justOne</I></TD> <TD class=t width="85%">Required. A <a>Boolean expression</A> that represents the justOne state.</TD></TR></TABLE></P> |
|
1楼#
发布于:2006-07-06 23:04
<P>不是通过这种途径实现的,可以查看一下开发包中的例子:Select</P>
|
|
|