Description
This .NET class wraps the AcDbAttributeDefinition ObjectARX class.
The AttributeDefinition class represents the ATTDEF entity within AutoCAD. ATTDEF entities are used within block definitions (BlockTableRecords) for AutoCAD to use as templates for creating ATTRIB entities (Attribute objects) when an INSERT (BlockReference) is created that references the block definition.
Class Hierarchy
Autodesk.AutoCAD.DatabaseServices.DBObject Autodesk.AutoCAD.DatabaseServices.Entity Autodesk.AutoCAD.DatabaseServices.DBText Autodesk.AutoCAD.DatabaseServices.AttributeDefinition
C#
public class AttributeDefinition : DBText;
Visual Basic
Public Class AttributeDefinition Inherits DBText
Notes
To set all the non-AttributeReference-specific properties such as position, text string, text height, text rotation, etc. for the attribute, use the methods inherited from Text.
Links
AttributeDefinition Constructor, AttributeDefinition Methods, AttributeDefinition Properties
See Also
DBObject, Entity, AttributeReference