1 IActiveView activeView;
2 
3 IEnvelope env = activeView.Extent;
4 IPoint centerpnt = (feat.ShapeCopy as IArea).Centroid;
5 env.CenterAt(centerpnt);
6 activeView.Extent = env;
7 activeView.Refresh()

 

相关文章:

  • 2021-11-19
  • 2022-12-23
  • 2022-01-02
  • 2021-09-20
  • 2022-12-23
  • 2021-04-25
  • 2022-12-23
  • 2022-01-17
猜你喜欢
  • 2022-12-23
  • 2021-07-22
  • 2022-12-23
  • 2021-12-09
  • 2021-11-29
  • 2022-12-23
  • 2021-10-12
相关资源
相似解决方案