加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

AutoCAD.Net/C#.Net QQ群:193522571 程序中需要判断是attdef和te

发布时间:2020-12-16 01:22:57 所属栏目:百科 来源:网络整理
导读:程序中需要判断是attdef和text时应该把attdef放在前面,因为attdef是text的继承类 namespace Autodesk.AutoCAD.DatabaseServices{ [TypeDescriptionProvider( " Autodesk.AutoCAD.ComponentModel.TypeDescriptionProvider`1[[Autodesk.AutoCAD.DatabaseServi

程序中需要判断是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();
    }
}

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读