public static void ZoomExtents()
{
object acad = Application.AcadApplication;
acad.GetType().InvokeMember("ZoomExtents", BindingFlags.InvokeMethod, null, acad, null);
}
public static void ZoomAll()
{
object acad = Application.AcadApplication;
acad.GetType().InvokeMember("ZoomAll", BindingFlags.InvokeMethod, null, acad, null);
}
|
暂时没有评论
发表评论 - 不要忘了输入验证码哦! |