Represents a base class for all entities in a CAD file.

The following tables list the members exposed by the CADEntity type.

Name Description
Public constructor CADEntity Initializes a new instance of the CADEntity class.
Top
Name Description
Public property Box Gets or sets a three-dimensional box that encloses the CADEntity.
Public property Color Gets or sets a color for the given CADEntity.
Public property Count Gets a number of entities contained in the given CADEntity.
Public property EntName Gets a name of the CADEntity.
Public property EntType The entity type defined by the EntityType enumeration.
Public property Entities Gets a collection of all entities owned by this CADEntity.
Public property ExtendedData Provides access to entity extended data
Public property Handle Gets a CADEntity handle.
Public property Layer Gets or sets a layer containing this CADEntity.
Public property LineType Gets or sets a linetype of the CADEntity.
Public property LineTypeScale Gets or sets a value equal to a quantity of linetype elements per unit of its length.
Public property LineWeight Gets or sets a thickness of lines for this CADEntity.
Public property Selected Gets or sets a value indicating whether the CADEntity is selected.
Public property Visibility Gets or sets a value indicating whether a CADEntity is visible.
Top
Name Description
Public method AddEntity Virtual method. Redefined in descendant classes.
Public method AssignEntity Copies an entity
Public method ChangeEntity Edits current entity by specified offset
Public method Clone Copies an entity
Public method Dispose Releases all resources used by the CADEntity.
Public method DrawEntityTrace Implements drawing of entity with specified offset to specified Control
Public method Equals (Overloaded) (inherited from Object).
Public method GetBoxPoints Checks if the CADEntity must be drawn during a drawing cycle.
Public method GetHashCode (inherited from Object).
Public method GetType (inherited from Object).
Public method Loaded Virtual method. Redefined in descendant classes.
Public method OnDraw Raises a DrawEvent.
Public method Static ReferenceEquals (inherited from Object).
Public method SetLType Sets a linetype for this CADEntity.
Public method ToString (inherited from Object).
Top
Name Description
Public field DrawEvent Occurs when the CADEntity is drawn in the CAD image.
Top