public static void ZoomToLayer(IActiveView pActiveView, ILayer pLayer,double pading)
{
pActiveView.Extent = ((IGeoDataset)pLayer).Extent;
pActiveView.Extent.Width += pading;
pActiveView.Extent.Height += pading;
pActiveView.Refresh();
}
缩放到图层
最新推荐文章于 2024-04-11 16:29:23 发布