ArcEngine中刷新的几种用法

刷新图层:
pMap.PartialRefresh(esriViewGeography, pLayer, null);  

刷新所有图层:
pMap.PartialRefresh(esriViewGeography, null, null);  

刷新所选择的对象:
pMap.PartialRefresh(esriViewGeoSelection, null, null);  

刷新标注:
pMap.PartialRefresh(esriViewGraphics, null, null);  

刷新图元
pLayout.PartialRefresh(esriViewGraphics, pElement, null);  

刷新所有图元
pLayout.PartialRefresh(esriViewGraphics, null, null);  

刷新所选择的图元
pLayout.PartialRefresh(esriViewGraphicSelection, null, null);

转载自:https://blog.csdn.net/likekobe2012/article/details/44175381

You may also like...