欢迎加我的QQ群:193522571,一起来讨论、交流!

01 2018 档案

摘要:因为单元格里面可能有\r\n之类的,今天被它搞死了。 阅读全文
posted @ 2018-01-27 14:12 swtool 阅读(258) 评论(0) 推荐(0) 编辑
摘要:#region 剪切 using (Trimmer trimmer = new Autodesk.AutoCAD.ExportLayout.Trimmer()) { Entity entityToTrim = (Entity)trans.GetObject(id, OpenMode.ForWrit... 阅读全文
posted @ 2018-01-21 19:04 swtool 阅读(511) 评论(0) 推荐(0) 编辑
摘要:if (text.HorizontalMode == TextHorizontalMode.TextLeft && text.VerticalMode == TextVerticalMode.TextBase) { // use Position } else { // use AlignmentPoint } if (text.Justify == Attac... 阅读全文
posted @ 2018-01-19 21:04 swtool 阅读(250) 评论(0) 推荐(0) 编辑
摘要:using System.Windows.Forms;namespace AutoCadWinFormDialogSample{ public partial class SingleButtonDialog : Form { public SingleButtonDialog() { Initia 阅读全文
posted @ 2018-01-19 19:25 swtool 阅读(274) 评论(0) 推荐(0) 编辑
摘要:名称 Unicode 符号 句号 3002 。 问号 FF1F ? 叹号 FF01 ! 逗号 FF0C , 顿号 3001 、 分号 FF1B ; 冒号 FF1A : 引号 300C 「 300D 」 引号 300E 『 300F 』 引号 2018 ‘ 2019 ’ 引号 201C “ 201D 阅读全文
posted @ 2018-01-16 13:50 swtool 阅读(1155) 评论(0) 推荐(0) 编辑
摘要:if (id.ObjectClass.IsDerivedFrom(RXObject.GetClass(typeof(DBText)))) { var text = (DBText)trans.GetObject(id, OpenMode.ForWrite); text.TextString =... 阅读全文
posted @ 2018-01-14 17:28 swtool 阅读(598) 评论(0) 推荐(0) 编辑
摘要:using Autodesk.AutoCAD.ApplicationServices; using Autodesk.AutoCAD.Runtime; using Autodesk.AutoCAD.EditorInput; [assembly: CommandClass(typeof(Command 阅读全文
posted @ 2018-01-14 14:47 swtool 阅读(222) 评论(0) 推荐(0) 编辑
摘要:MSSQL SQLITE 一、C# vs SQLite: C# SQLite 字段名 类型 库类型 GetFieldType(#) 转换 备注 F_BOOL bool BIT NOT NULL Boolean F_BOOL_NULL bool? BIT Boolean F_SBYTE sbyte I 阅读全文
posted @ 2018-01-05 11:19 swtool 阅读(3749) 评论(0) 推荐(1) 编辑
摘要:SQLite 数据类型C# 数据类型 BIGINT Int64 BIGUINT UInt64 BINARY Binary BIT Boolean 首选 BLOB Binary 首选 BOOL Boolean BOOLEAN Boolean CHAR AnsiStringFixedLength 首选 阅读全文
posted @ 2018-01-05 10:47 swtool 阅读(6453) 评论(0) 推荐(1) 编辑

欢迎加我的QQ群:193522571,一起来讨论、交流!
点击右上角即可分享
微信分享提示