Click or drag to resize
Element Class
Element is a basic building block of an object model. You may refer to it as to an OOP class (type). Each entity class, either graphical or non-graphical, relates to instantiated element found within Elements collection.
Inheritance Hierarchy

Namespace: FDF.Common.ObjectModel
Assembly: FDF.Common (in FDF.Common.dll) Version: 3.0.0.0
Syntax
[SerializableAttribute]
public class Element : Feature, ICloneable

The Element type exposes the following members.

Constructors
  NameDescription
Public methodElement
See appropriate Feature constructor(s).
Public methodElement(String)
See appropriate Feature constructor(s).
Top
Properties
  NameDescription
Public propertyAttributes
Attributes represent unique properties of an Element.

For more info see description of the Attributes collection and it's enumerator, the Attribute.

Public propertyClassId
Name of underlying entity class indentificator (CLSID) utilized by host application.

In AutoCAD, for example, it represents DXF group 1001 (AppId). Since class id's are persistant, change them sparingly throughout different versions of an object model.

Public propertyClassName
Name of underlying entity class utilized by host application.

In AutoCAD, for example, class name may have one of the following values:

Class nameDescription
AcDbPolylineLightweight Polyline entity.
AcDbPolyline2d2D Polyline entity.
AcDbPolyline3d3D Polyline entity.
AcDbMPolygonMulti-polygon entity.
AcDbBlockReferenceBlock reference entity.

Public propertyCommands
Public propertyIsAbstract
Gets or sets whether this element represent a base class for building other elements.

Equals to abstract (MustInherit) class in OOP. This property is being implicitly set on schema serialization. If True, element's children should have their ParentNames set to this element's Name.

Public propertyIsHidden
Public propertyParentName
Gets or sets element's parent Element name.

Equals to inherited (parent) class name in OOP. See IsAbstract for more details.

Public propertyStyleName
Gets or sets element's Style name.
Public propertyType (Overrides FeatureType.)
Top
Methods
  NameDescription
Public methodClone
Public methodStatic memberDeserialize
Public methodSerialize
Top
Fields
  NameDescription
Public fieldStatic memberEXPRESSION_ELEMENT
Top
Remarks