robotleo
路人甲
路人甲
  • 注册日期2004-09-24
  • 发帖数3
  • QQ
  • 铜币146枚
  • 威望0点
  • 贡献值0点
  • 银元0个
阅读:1893回复:2

关于ArcObjects组件开发

楼主#
更多 发布于:2004-11-19 22:41
<P  align=center><B>一</B><B><FONT face="Times New Roman"> </FONT></B><B>使用</B><B><FONT face="Times New Roman">COM</FONT></B><B>扩展</B><B><FONT face="Times New Roman">ArcObjects<p></p></FONT></B></P>
<P ><FONT face="Times New Roman">       </FONT>在新类中使用<FONT face="Times New Roman">esriCore</FONT>的接口,但以自己的代码实现这些接口。在<FONT face="Times New Roman">Visual Basic</FONT>开发环境下,可以通过生成一个新的<FONT face="Times New Roman">ActiveX</FONT>工程(<FONT face="Times New Roman">DLL</FONT>,<FONT face="Times New Roman">EXE</FONT>或是<FONT face="Times New Roman">OCX</FONT>)来实现这一点,对类型库和新类命名,并在工程中引用<FONT face="Times New Roman">esriCore.old</FONT>,实现某个<FONT face="Times New Roman">esriCore</FONT>接口,然后编译组件,使用<FONT face="Times New Roman">ArcMap</FONT>或者<FONT face="Times New Roman">ArcCatalog</FONT>注册组件。<p></p></P>
<P ><FONT face="Times New Roman"> </FONT><B>二</B><B><FONT face="Times New Roman"> ITool</FONT></B><B>和</B><B><FONT face="Times New Roman">IToolControl<p></p></FONT></B></P>
<P ><FONT face="Times New Roman">       ITool</FONT>为逻辑工具,它和具体的操作对应;<p></p></P>
<P ><FONT face="Times New Roman">       IToolControl</FONT>为真实工具,用户通过它来实现和系统的交互。<p></p></P>
<P ><FONT face="Times New Roman">       ‘**************************************************<p></p></FONT></P>
<P ><FONT face="Times New Roman">       ‘</FONT>实现<FONT face="Times New Roman">Icommand</FONT>接口<p></p></P>
<P ><FONT face="Times New Roman">       Implements Icommand<p></p></FONT></P>
<P ><FONT face="Times New Roman">       ‘</FONT>在<FONT face="Times New Roman">oncreate</FONT>事件中传入<FONT face="Times New Roman">hook</FONT>,即应用程序对象<p></p></P>
<P ><FONT face="Times New Roman">       Private function Icommand_oncreate(byval hook as object)<p></p></FONT></P>
<P ><p><FONT face="Times New Roman" size=3> </FONT></p></P>
<P ><FONT face="Times New Roman">       End function<p></p></FONT></P>
<P ><FONT face="Times New Roman">       ‘**************************************************<p></p></FONT></P>
<P ><p><FONT face="Times New Roman" size=3> </FONT></p></P>
喜欢0 评分0
bei-di
路人甲
路人甲
  • 注册日期2004-11-17
  • 发帖数67
  • QQ
  • 铜币247枚
  • 威望0点
  • 贡献值0点
  • 银元0个
1楼#
发布于:2004-11-21 09:34
顶以下
举报 回复(0) 喜欢(0)     评分
yangseven
路人甲
路人甲
  • 注册日期2013-08-27
  • 发帖数6
  • QQ
  • 铜币113枚
  • 威望0点
  • 贡献值0点
  • 银元0个
2楼#
发布于:2013-08-28 18:38
关于这方面的开发怎这么少啊?java的更少 ,什么情况
举报 回复(0) 喜欢(0)     评分
游客

返回顶部