Click or drag to resize

LayoutElement Class

The class serves as the foundation for elements in a document that have been rendered.
Inheritance Hierarchy
System Object
Spire.Doc.Pages LayoutElement
More...

Namespace: Spire.Doc.Pages
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public abstract class LayoutElement

The LayoutElement type exposes the following members.

Constructors
Name Description
Protected method LayoutElement
Initializes a new instance of the LayoutElement class
Top
Properties
Name Description
Public property PageIndex
Gets the index of a page in which rendered object. starting from 1.
Public property Parent
Gets the parent of this entity.
Public property ParentNode
Provides the layout node that pertains to this particular entity.
Public property Rectangle
Returns bounding rectangle of the entity relative to the page top left corner (in points).
Public property Text
Outputs the entity's contents as a plain text string.
Public property Type
Gets the type of this layout entity.
Top
Methods
Name Description
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 GetChildEntities
Obtains a group of child entities that are of a specific type.
Protected method GetChildNodes T
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
Fields
See Also
Inheritance Hierarchy