微科社区,轻松开发从此开始! 请登陆 免费注册

微科社区

当前位置:首页 > 企业开发 > GIS >

打开table of Content内容

时间:2017-02-02 03:38  浏览:努力统计中...
//显示table of Content内容 private void OpenContenWindow()//over视图 { IMxDocument mxDocument = m_application.Document as IMxDocument; int num = mxDocument.ContentsViewCount; for (int i = 0; i num; i++) { ESRI.ArcGIS.ArcMapUI.IContent

 //显示table of Content内容
        private void OpenContenWindow()//over视图
        {
            IMxDocument mxDocument = m_application.Document as IMxDocument;
            int num = mxDocument.ContentsViewCount;
            for (int i = 0; i < num; i++)
            {
                ESRI.ArcGIS.ArcMapUI.IContentsView contentsView = mxDocument.get_ContentsView(i);
                MessageBox.Show(i.ToString() + \":\" + contentsView.Name);
            }

            //MessageBox.Show(  .ToString());

顶一下
(0)
0%
踩一下
(0)
0%
------分隔线------