1. 程式人生 > >Arcmap內容列表刷新

Arcmap內容列表刷新

fresh arcmap map cmap xdoc current 內容 content 顯示

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

Arcmap內容列表刷新