Class Entity
Provides the base implementation for DLS entities.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.DocIO.DLS
Assembly: Syncfusion.DocIO.Base.dll
Syntax
public abstract class Entity : XDLSSerializableBase, IXDLSSerializable, IEntity
Constructors
Entity(WordDocument, Entity)
Initializes a new instance of the Entity class.
Declaration
protected Entity(WordDocument doc, Entity owner)
Parameters
Type | Name | Description |
---|---|---|
WordDocument | doc | The WordDocument object. |
Entity | owner | The Entity that is the owner. |
Properties
EntityType
Gets the type of the entity.
Declaration
public abstract EntityType EntityType { get; }
Property Value
Type | Description |
---|---|
EntityType | The EntityType of the current item. |
IsComposite
Gets a value indicating whether this instance is composite.
Declaration
public bool IsComposite { get; }
Property Value
Type | Description |
---|---|
System.Boolean | True if this instance is composite, otherwise |
NextSibling
Gets the next sibling of the entity.
Declaration
public IEntity NextSibling { get; }
Property Value
Type | Description |
---|---|
IEntity | The IEntity that represents the next sibling. |
Owner
Gets the owner of the entity.
Declaration
public Entity Owner { get; }
Property Value
Type | Description |
---|---|
Entity | The Entity that specifies the owner. |
PreviousSibling
Gets the previous sibling of the entity.
Declaration
public IEntity PreviousSibling { get; }
Property Value
Type | Description |
---|---|
IEntity | The IEntity that represents the previous sibling. |
Methods
Clone()
Creates a duplicate copy of the entity.
Declaration
public Entity Clone()
Returns
Type | Description |
---|---|
Entity | The Entity object which is a copy of the current entity. |