Class DxfObject
Represents the base class for all DXF objects.
Inheritance
System.Object
DxfObject
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: netDxf
Assembly: CADability.dll
Syntax
public abstract class DxfObject
Constructors
| Improve this Doc View SourceDxfObject(String)
Initializes a new instance of the DxfObject class.
Declaration
protected DxfObject(string codename)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | codename |
Properties
| Improve this Doc View SourceCodeName
Gets the DxfObjectCode.
Declaration
public string CodeName { get; protected set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Handle
Gets the handle assigned to the DXF object.
Declaration
public string Handle { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Remarks
The handle is a unique hexadecimal number assigned automatically to every DXF object, that has been added to a DxfDocument.
Owner
Gets the owner of the actual DxfObject.
Declaration
public DxfObject Owner { get; }
Property Value
| Type | Description |
|---|---|
| DxfObject |
Methods
| Improve this Doc View SourceToString()
Obtains a string that represents the DXF object.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String | A string text. |
Overrides
System.Object.ToString()