如何在zoom后保持窗体的比例不让它充满窗体
我用的Kean帖子里方法如何让它保持窗体的比例不让它充满窗体static public void ZoomWin(
Editor ed, Point3d min, Point3d max
)
{
Point2d min2d = new Point2d(min.X, min.Y);
Point2d max2d = new Point2d(max.X, max.Y);
ViewTableRecord view =
new ViewTableRecord();
view.CenterPoint =
min2d + ((max2d - min2d) / 2.0);
view.Height = max2d.Y - min2d.Y;
view.Width = max2d.X - min2d.X;
ed.SetCurrentView(view);
} 哦,解决了............下面还有几种方式的....
页:
[1]