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

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();
    }
}

 

posted @ 2019-09-17 09:40  swtool  阅读(369)  评论(0编辑  收藏  举报
欢迎加我的QQ群:193522571,一起来讨论、交流!