The Aspose.Words.Layout namespace provides classes that allow to access information such as on what page and where on a page particular document elements are positioned, when the document is formatted into pages.


LayoutCollectorThis class allows to compute page numbers of document nodes.
LayoutEnumeratorEnumerates 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 GetEntity and Current move to the entity which corresponds to a document node.
LayoutOptionsHolds the options that allow controlling the document layout process.
PageLayoutCallbackArgsAn argument passed into Notify
RevisionOptionsAllows to control how document revisions are handled during layout process.


IPageLayoutCallbackImplement this interface if you want to have your own custom method called during build and rendering of page layout model.


CommentDisplayModeSpecifies the rendering mode for document comments.
ContinuousSectionRestartRepresents different behaviors when computing page numbers in a continuous section that restarts page numbering.
LayoutEntityTypeTypes of the layout entities.
PageLayoutEventA code of event raised during page layout model build and rendering.
RevisionColorAllows to specify color of document revisions.
RevisionTextEffectAllows to specify decoration effect for revisions of document text.
ShowInBalloonsSpecifies which revisions are rendered in balloons.