public static void ZoomAndFlash(IMapControl3 mapctrl, IFeature feat)
        {

            MapHelper.ZoomToFeature(mapctrl.ActiveView, feat);

            IGeometry shape = mapctrl.ActiveView.Extent;
            (shape as ITransform2D).Scale((shape as IArea).Centroid, 1.5, 1.5);

            mapctrl.ActiveView.Extent = shape.Envelope;

            mapctrl.ActiveView.ScreenDisplay.UpdateWindow();
            MapHelper.FlashGeometry(mapctrl, feat.ShapeCopy);

        }

  

相关文章:

  • 2021-06-01
  • 2022-12-23
  • 2022-12-23
  • 2021-05-22
  • 2021-06-26
  • 2021-07-09
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案