.net缩放CAD窗口

ViewTableRecord viewTableRecord = ed.GetCurrentView();
viewTableRecord.CenterPoint = new Point2d() ;
viewTableRecord.Height =h;
viewTableRecord.Width =w;
ed.SetCurrentView(viewTableRecord); 
Autodesk.AutoCAD.ApplicationServices.Application.UpdateScreen();

  

posted @ 2011-11-09 10:28  hunklee  阅读(1135)  评论(0编辑  收藏  举报