11 2024 档案

摘要:我有一个控制台应用程序, 其中有一些变量我想写在配置文件中 原来的app.config是这样的 位置放在configuration中 程序的引用中添加 在程序中使用如下写法即可取得配置中的对应值 string userNo = ConfigurationManager.AppSettings["Us 阅读全文
posted @ 2024-11-27 17:29 elepeipei 阅读(2) 评论(0) 推荐(0) 编辑
摘要:b站up主,雪忆微服务 来源bilibili雪忆微服务的分享 第一步:下载并安装erlang 原因:RabbitMQ服务端代码是使用并发式语言Erlang编写的,安装Rabbit MQ的前提是安装Erlang。 下载地址:http://www.erlang.org/downloads https:/ 阅读全文
posted @ 2024-11-26 16:05 elepeipei 阅读(4) 评论(0) 推荐(0) 编辑
摘要:以下是一个创建table,并设置表头方向的示例代码 关键是: TableStyle style = new TableStyle(); style.FlowDirection = FlowDirection.LeftToRight; style.IsTitleSuppressed = true; t 阅读全文
posted @ 2024-11-26 11:15 elepeipei 阅读(25) 评论(0) 推荐(0) 编辑
摘要:尝试了thinkness,不对 尝试了Lineweight,不对 尝试输入start时候居然出来个SetConstantWidth,试了一下对了 private void InsertRec(PointF leftDownPt, PointF rightTopPt, AciColor color, 阅读全文
posted @ 2024-11-12 19:27 elepeipei 阅读(32) 评论(0) 推荐(0) 编辑
摘要:需求是我想使用netdxf创建一个文件, 插入一个长方体块进去, 保存文件后打开就是我想要的视图, 例如一个等二测的角度 谢谢惊惊, 南胜, 鸿,和尚,大佬们 关键1:DxfDocument.Viewport.ViewDirection 关键2:向量与大小无关, 只要等比例即可 获取原图形中的视图角 阅读全文
posted @ 2024-11-06 17:53 elepeipei 阅读(37) 评论(0) 推荐(0) 编辑
摘要:可以使用https://www.cnblogs.com/MakeView660/p/12326159.html 中提到的方法,我不会c++,没有做尝试 可以使用白佬说的acadsharp 经过测试,可以转出dwg,但是不支持实体 static void Main(string[] args) { / 阅读全文
posted @ 2024-11-06 14:22 elepeipei 阅读(18) 评论(0) 推荐(0) 编辑
摘要:1创建dxf, 可以使用netdxf创建dxf文件 https://github.com/haplokuon/netDxf 官网例子如下: public static void Main() { // your DXF file name string file = "sample.dxf"; // 阅读全文
posted @ 2024-11-06 11:23 elepeipei 阅读(19) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示