03 2022 档案
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; #if DEBUG //DEBUG模式下 usin
阅读全文
摘要://加下多个实体,获取所有实体矩形边界,获取边界点截图 public void SnapShot(List<Entity> entities ,string name) { Document doc = Application.DocumentManager.MdiActiveDocument; E
阅读全文
摘要:[CommandMethod("TESTIMAGE")] public void TSTImage() { Document doc = Application.DocumentManager.MdiActiveDocument; Editor ed = Application.DocumentMa
阅读全文
摘要:1、对象初始化时绑定处理事件 1 Application.PreTranslateMessage += new PreTranslateMessageEventHandler(Application_PreTranslateMessage); 2、事件处理 1 /// <summary> 2 ///
阅读全文
摘要:1、自定义靶框对象 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 //CAD开发库 8
阅读全文
摘要:1 private List<Curve> GetCurveFromView() { 2 List<Curve> curves = new List<Curve>(); 3 ViewTableRecord viewTableRecord = ed.GetCurrentView(); 4 double
阅读全文