It should be placed in front of attdef need to determine when the program is 193,522,571 attdef and text: AutoCAD.Net/C#.Net QQ group

Analyzing the program is required to be placed in front of the attdef when attdef and text, because the text class is inherited attdef

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

 

Guess you like

Origin www.cnblogs.com/swtool/p/11531721.html