ViewTableRecord viewTableRecord = ed.GetCurrentView();
viewTableRecord.CenterPoint = new Point2d() ;
viewTableRecord.Height =h;
viewTableRecord.Width =w;
ed.SetCurrentView(viewTableRecord);
Autodesk.AutoCAD.ApplicationServices.Application.UpdateScreen();
转载于:https://www.cnblogs.com/chinaHunk/archive/2011/11/09/2242154.html
相关资源:C#写的类似CAD的软件,可放大缩小拖动画布