01 2018 档案
摘要:因为单元格里面可能有\r\n之类的,今天被它搞死了。
阅读全文
摘要:#region 剪切 using (Trimmer trimmer = new Autodesk.AutoCAD.ExportLayout.Trimmer()) { Entity entityToTrim = (Entity)trans.GetObject(id, OpenMode.ForWrit...
阅读全文
摘要:if (text.HorizontalMode == TextHorizontalMode.TextLeft && text.VerticalMode == TextVerticalMode.TextBase) { // use Position } else { // use AlignmentPoint } if (text.Justify == Attac...
阅读全文
摘要:using System.Windows.Forms;namespace AutoCadWinFormDialogSample{ public partial class SingleButtonDialog : Form { public SingleButtonDialog() { Initia
阅读全文
摘要:名称 Unicode 符号 句号 3002 。 问号 FF1F ? 叹号 FF01 ! 逗号 FF0C , 顿号 3001 、 分号 FF1B ; 冒号 FF1A : 引号 300C 「 300D 」 引号 300E 『 300F 』 引号 2018 ‘ 2019 ’ 引号 201C “ 201D
阅读全文
摘要:if (id.ObjectClass.IsDerivedFrom(RXObject.GetClass(typeof(DBText)))) { var text = (DBText)trans.GetObject(id, OpenMode.ForWrite); text.TextString =...
阅读全文
摘要:using Autodesk.AutoCAD.ApplicationServices; using Autodesk.AutoCAD.Runtime; using Autodesk.AutoCAD.EditorInput; [assembly: CommandClass(typeof(Command
阅读全文
摘要: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
阅读全文
摘要:SQLite 数据类型C# 数据类型 BIGINT Int64 BIGUINT UInt64 BINARY Binary BIT Boolean 首选 BLOB Binary 首选 BOOL Boolean BOOLEAN Boolean CHAR AnsiStringFixedLength 首选
阅读全文