Show / Hide Table of Contents

Class DxfObject

Represents the base class for all DXF objects.

Inheritance
System.Object
DxfObject
BlockRecord
TableObjects<T>
DxfDocument
Attribute
AttributeDefinition
EntityObject
PolyfaceMeshFace
PolyfaceMeshVertex
PolylineVertex
RasterVariables
TableObject
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 Source

DxfObject(String)

Initializes a new instance of the DxfObject class.

Declaration
protected DxfObject(string codename)
Parameters
Type Name Description
System.String codename

DxfObjectCode.

Properties

| Improve this Doc View Source

CodeName

Gets the DxfObjectCode.

Declaration
public string CodeName { get; protected set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

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.

| Improve this Doc View Source

Owner

Gets the owner of the actual DxfObject.

Declaration
public DxfObject Owner { get; }
Property Value
Type Description
DxfObject

Methods

| Improve this Doc View Source

ToString()

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()
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX