阅读:1535回复:3
[求助]谁能提供一些vb.net+arcengine的例子
例如在 axmapcontrol加shape、cad、sde等数据图层,然后存成mxd等
|
|
1楼#
发布于:2005-06-01 16:49
<P>这个在帮助里有滴啦,翻下ao的开发包吧</P>
|
|
|
2楼#
发布于:2005-06-17 14:41
<P>已经搞定,可新问题又来了,不知道如何在axTOCControl上在鼠标点击事件中取得鼠标点击的图层信息,例如图层名、索引值等信息?那为大虾指点指点?谢谢</P><img src="images/post/smile/dvbbs/em02.gif" /><img src="images/post/smile/dvbbs/em01.gif" /><img src="images/post/smile/dvbbs/em04.gif" /><img src="images/post/smile/dvbbs/em08.gif" />
|
|
3楼#
发布于:2005-06-17 15:21
<P><FONT size=3>利用hittest方法,</FONT></P>
<P><FONT size=3>在帮助里有几个例子,</FONT></P> <H1><FONT size=3>LabelEdit等</FONT></H1> <H1> <P><B><FONT size=3>Product Availability</FONT></B></P> <DIV><FONT size=3>Available with ArcGIS Engine.</FONT></DIV> <P><B><FONT size=3>Description</FONT></B></P> <P><FONT size=3><EM>x </EM>is the X coordinate, in pixels, where the mouse button was pressed referenced against the origin (0, 0) of the TOCControl (the top left hand corner). </FONT></P> <P><FONT size=3><EM>y</EM> is the Y coordinate, in pixels, where the mouse button was pressed referenced against the origin (0, 0) of the TOCControl (the top left hand corner).</FONT></P> <P><FONT size=3><EM>ItemType</EM> specifies an enumeration indicating the type of item (none, map, layer, heading or legend class).</FONT></P> <P><FONT size=3><EM>Map</EM> specifies an IMap object.</FONT></P> <P><FONT size=3><EM>Layer</EM> specifies an ILayer object.</FONT></P> <P><FONT size=3><EM>Unk</EM> specifies an ILegendGroup object.</FONT></P> <P><FONT size=3><EM>Data</EM> specifies a long indicating the index of the legend class within the legend group. Use this index in conjunction with the legend group to obtain a particular legend class.</FONT></P></H1> [此贴子已经被作者于2005-6-17 15:21:32编辑过]
|
|
|