Arcmap内容列表刷新

Arcmap内容列表刷新
ILayer pLayer = pFDOGLayer as ILayer;
                            if (!pLayer.Visible)
                            {

                                pLayer.Visible = true;

                                IMxDocument mxDocument = m_application.Document as IMxDocument;
                                mxDocument.CurrentContentsView.Refresh(null); //= mxDocument.get_ContentsView(0);//设置到图层显示页

                                //m_application.RefreshWindow();
                            }

猜你喜欢

转载自www.cnblogs.com/gisoracle/p/10744594.html