首页 > Windows开发 > 详细

设置CAD显示窗体

时间:2016-10-25 16:33:08      阅读:315      评论:0      收藏:0      [点我收藏+]

AcDbViewTableRecord view;
AcGePoint3d max = acdbHostApplicationServices()->workingDatabase()->extmax(),
min = acdbHostApplicationServices()->workingDatabase()->extmin();
view.setCenterPoint(AcGePoint2d(ptInsert.x, ptInsert.y));
view.setHeight(max.y - min.y);
view.setWidth(max.x - min.x);
acedSetCurrentView(&view, NULL);
acdbHostApplicationServices()->workingDatabase()->updateExt(TRUE);

设置CAD显示窗体

原文:http://www.cnblogs.com/xzh1993/p/5997022.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!