当前位置 : 主页 > 编程语言 > c语言 >

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

来源:互联网 收集:自由互联 发布时间:2021-06-25
程序中需要判断是attdef和text时应该把attdef放在前面,因为attdef是text的继承类 namespace Autodesk.AutoCAD.DatabaseServices{ [TypeDescriptionProvider( " Autodesk.AutoCAD.ComponentModel.TypeDescriptionProvider`1[[Autode

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