• AutoCAD.Net/C#.Net QQ群:193522571 程序中需要判断是attdef和text时应该把attdef放在前面


    程序中需要判断是attdef和text时应该把attdef放在前面,因为attdef是text的继承类

    namespace Autodesk.AutoCAD.DatabaseServices
    {
        [TypeDescriptionProvider("Autodesk.AutoCAD.ComponentModel.TypeDescriptionProvider`1[[Autodesk.AutoCAD.DatabaseServices.AttributeDefinition, acdbmgd]], acdbmgd")]
        [Wrapper("AcDbAttributeDefinition")]
        public class AttributeDefinition : DBText
        {
            public AttributeDefinition();
            public AttributeDefinition(Point3d position, string value, string tag, string prompt, ObjectId style);
            protected internal AttributeDefinition(IntPtr unmanagedObjPtr, bool autoDelete);
    
            public bool Constant { get; set; }
            public int FieldLength { get; set; }
            public bool Invisible { get; set; }
            public bool IsMTextAttributeDefinition { get; set; }
            public bool LockPositionInBlock { get; set; }
            public MText MTextAttributeDefinition { get; set; }
            public bool Preset { get; set; }
            public string Prompt { get; set; }
            public string Tag { get; set; }
            public bool Verifiable { get; set; }
    
            public void UpdateMTextAttributeDefinition();
        }
    }
  • 相关阅读:
    2. 环形路加油
    1. 元素累加
    开始在线练习50题。
    C# 搜索关键词
    Python调用OpenCV几何变换
    Tensorflow加载多幅图像进一个tensor
    Cmake构建OpenCV测试例子
    Linux利用本地http下载解决一些需要联网下载的问题
    Python调用OpenCV算术操作
    Python调用OpenCV阈值化
  • 原文地址:https://www.cnblogs.com/swtool/p/11531721.html
Copyright © 2020-2023  润新知