|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.spire.doc.pages.LayoutElement
public abstract class LayoutElement
The class serves as the foundation for elements in a document that have been rendered.
| Constructor Summary | |
|---|---|
LayoutElement()
|
|
| Method Summary | |
|---|---|
LayoutCollection<LayoutElement> |
getChildEntities(LayoutElementType type,
boolean isDeep)
Obtains a group of child entities that are of a specific type. |
int |
getPageIndex()
Gets the index of a page in which rendered object. |
LayoutElement |
getParent()
Gets the parent of this entity. |
DocumentObject |
getParentNode()
Provides the layout node that pertains to this particular entity. |
com.spire.ms.System.Drawing.RectangleF |
getRectangle()
Returns bounding rectangle of the entity relative to the page top left corner (in points). |
java.lang.String |
getText()
Outputs the entity's contents as a plain text string. |
LayoutElementType |
getType()
Gets the type of this layout entity. |
| Constructor Detail |
|---|
public LayoutElement()
| Method Detail |
|---|
public int getPageIndex()
public com.spire.ms.System.Drawing.RectangleF getRectangle()
public LayoutElementType getType()
public java.lang.String getText()
public LayoutElement getParent()
public DocumentObject getParentNode()
public LayoutCollection<LayoutElement> getChildEntities(LayoutElementType type,
boolean isDeep)
type - Specifies the type of entities to select.isDeep - True to select from all child entities recursively.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||