• 庖丁解牛识控件


    ArcGIS Engine中的MapControl控件和PageLayoutControl控件分别对应于ArcMap中的数据视图和布局视图,MapControl控件主要用于空间数据的显示和分析,它封装了地图对象,而PageLayoutControl控件是用于地图的修饰和整理,可以用来生成专题图等,它封装了PageLayout对象。
    TOCControl控件和ToolbarControl控件分别对应ArcMap中的Table of Contents控件和工具条控件,这两个控件都有一个buddy属性,这两个控件需要和一个伙伴空间协同工作,伙伴控件可以是MapControl,PageLayoutContro,SceneControl或globeControl控件。

    第一个控件MapControl
    MapControl对应于ArcMap中的数据视图,它封装了Map对象,并提供了额外的属性,方法,事件等。在ArcGIS Engine的帮助文件中,我们可以看到MapControl主要实现了如下接口

    Interfaces

    InterfacesDescription
    IConnectionPointContainer Supports connection points for connectable objects.
    IMapControl2 Provides access to members that control the MapControl.
    IMapControl3 Provides access to members that control the MapControl.
    IMapControl4 Provides access to members that control the MapControl.
    IMapControlDefault Provides access to members that control the MapControl.
    IMxdContents (esriCarto) Provides access to members to pass data into and out off a MXD map document file. Coclasses that implement this interface can limited the implementation to one property if required.
    IPersist Defines the single method GetClassID, which is designed to supply the CLSID of an object that can be stored persistently in the system. IPersist is the base interface for three other interfaces: IPersistStorage, IPersistStream, and IPersistFile.
    IPersistStreamInit Supports initialized stream-based persistence, regardless of whatever else the object does.
    ISupportErrorInfo Indicates whether a specific interface can return Automation error objects.
    ITOCBuddy Provides access to members that control the TOC buddy.
    IToolbarBuddy Provides access to members that control the ToolbarControl buddy.
  • 相关阅读:
    向强大的SVG迈进
    手把手教你写个小程序定时器管理库
    蒲公英 · JELLY技术周刊 Vol.11 Lighthouse 测试报告生成
    ES6语法——let和const
    北京天地益星面经
    JS的数据类型你真的懂了吗
    北京MedPeer凉经
    flex布局语法+实例
    面试官问:你有多少种方式实现三栏布局?
    CSS粘性定位
  • 原文地址:https://www.cnblogs.com/qiushuixizhao/p/3234375.html
Copyright © 2020-2023  润新知