Click or drag to resize

DocumentObject Class

Represents a base class for document objects.
Inheritance Hierarchy

Namespace: Spire.Doc
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public abstract class DocumentObject : DocumentSerializable, 
	IDocumentObject

The DocumentObject type exposes the following members.

Constructors
Name Description
Protected method DocumentObject
Initializes a new instance of the DocumentObject class
Top
Properties
Name Description
Public property ChildObjects
Gets the child objects of the entity.
Public property Document
Gets the document.
(Inherited from OwnerHolder .)
Public property DocumentObjectType
Gets the type of the document object.
Public property FirstChild
Gets the first child of the Element.
Public property IsComposite
Indicating whether this instance is composite.
Public property LastChild
Gets the last child of the Element.
Public property NextSibling
Gets the next sibling.
Public property Owner
Gets the owner of this entity.
Public property PreviousSibling
Gets the previous sibling.
Protected property XDLSHolder (Inherited from DocumentSerializable .)
Top
Methods
Name Description
Public method Clone
Creates a duplicate of the document object.
Protected method CloneImpl (Inherited from DocumentSerializable .)
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetNextWidgetSibling
Gets the next sibling.
Public method GetPreviousWidgetSibling
Gets the previous widget sibling.
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method InitXDLSHolder (Inherited from DocumentSerializable .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Protected method ReadXmlAttributes (Inherited from DocumentSerializable .)
Protected method ReadXmlContent (Inherited from DocumentSerializable .)
Protected method RestoreReference (Inherited from DocumentSerializable .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Public method ToString(String)
Exports the name and index in container of the object into a string in the specified seperator.
Protected method WriteXmlAttributes (Inherited from DocumentSerializable .)
Protected method WriteXmlContent (Inherited from DocumentSerializable .)
Top
Fields
Name Description
Protected field m_doc (Inherited from OwnerHolder .)
Top
See Also