zoukankan      html  css  js  c++  java
  • 地图刷新方法一二三。

    下面是网上找到的一些参数关于地图刷新的介绍:

    刷新图层:
    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);

    几种刷新的英文使用说明: IActiveView :: Refresh—call to redraw the entire display area while in data (Map) or layout (PageLayout) view - IScreenDisplay :: Invalidate—call to redraw all layers and elements within a specified area (defined by passing in an Envelope object) - IMxDocument :: UpdateContents—call to redraw the legends in the ArcMap Table of Contents

    ps:最近发现王者之魂 AE中刷新的理解 http://www.cnblogs.com/wall/archive/2008/04/09/1143923.html 博文写的更仔细。

  • 相关阅读:
    记一次渗透测试(5)
    记一次渗透实战(一)
    Spring IOC/DI
    Mysql 索引
    Mysql 存储过程
    Mysql 视图
    Mysql 用户和权限
    Mysql 事务
    Mysql 常用函数
    Mysql 子查询
  • 原文地址:https://www.cnblogs.com/wenwu/p/3304346.html
Copyright © 2011-2022 走看看