IMapDocument.ReplaceContents(IMxdContents pObject)
来源:互联网 发布:中国医药价格数据分析 编辑:程序博客网 时间:2024/06/07 17:02
Replaces the contents of the MapDocument with the contents of the specified Map, PageLayout, MapControl or PageLayoutControl. Before using the ReplaceContents method a New MapDocument must be created or an existing MapDocument must be Open.
If a MapControl is passed to the ReplaceContents method the MapDocument will be replaced with the IMapControl2::Map. Likewise, if a PageLayoutControl is passed to the ReplaceContents method the MapDocument will be replaced with the IPageLayoutControl::PageLayout.
If the MapDocument contents is replaced with the contents of a Map or MapControl a portriat PageLayout containing the map will be created.
在使用这个方法之前,或者建立一个新文档或者打开一个已经存在的新文档.
如果MapControl传给方法,MXD文档将要被IMapControl2::Map代替.
- IMapDocument.ReplaceContents(IMxdContents pObject)
- 小菜的ArcObjects学习之路------IMapDocument interface
- 由static_cast(CMyClass)(*pObject)引发的一系列思考【原创】
- OCCI开发时,需要用到PObject类型,如何处理呢?
- CocosBuilder 之CCAssert(key.length() > 0 && pObject != NULL, "Invalid Argument!");
- ASP.NET 2.0中Gridview控件高级技巧
- ID--HANDLE--HWND三者之间的互相转换
- java 练习题 输出组成整数的每个数字
- Ajax在用户注册上的简单应用
- DataGrid导成Excel 的例子
- IMapDocument.ReplaceContents(IMxdContents pObject)
- JS编码函数实例以及主要全局函数
- Div+CSS布局入门教程(转)
- HTML 语言教程——HTML标记一览(1)
- Asp.Net最新技术
- solaris x86 下装openq
- ASP防止网页频繁刷新的方法介绍
- (X)HTML初级教程
- FCKeditor在ASP配置环境中的使用