IPoint centerPoint;

centerPoint.Project(PageCtrl.ActiveView.FocusMap.SpatialReference);

IActiveView pActiveView = PageCtrl.ActiveView.FocusMap as IActiveView;
IEnvelope pEnvelope = (IEnvelope)pActiveView.Extent;
pEnvelope.CenterAt(centerPoint);
pActiveView.Extent = pEnvelope;
pActiveView.Refresh();

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-25
  • 2022-02-09
  • 2022-12-23
  • 2022-12-23
  • 2021-08-14
  • 2021-11-08
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案