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();
}