LayoutEnumerator class
LayoutEnumerator class
Enumerates page layout entities of a document.
You can use this class to walk over the page layout model. Available properties are type, geometry, text and page index where entity is rendered,
as well as overall structure and relationships.
Use combination of Aspose.Words.Layout.LayoutCollector.GetEntity(Aspose.Words.Node) and Aspose.Words.Layout.LayoutEnumerator.Current move to the entity which corresponds to a document node.
To learn more, visit the Converting to Fixed-page Format documentation article.
Constructors
Properties
Name | Description |
---|
document | Gets document this instance enumerates. |
kind | Gets the kind of the current entity. This can be an empty string but never null . |
pageIndex | Gets the 1-based index of a page which contains the current entity. |
text | Gets text of the current span entity. Throws for other entity types. |
this[] | |
type | Gets the type of the current entity. |
Methods
See Also