aspose.words.layout module

The aspose.words.layout module 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.

Classes

ClassDescription
IPageLayoutCallbackImplement this interface if you want to have your own custom method called during build and rendering of page layout model.
LayoutCollectorThis class allows to compute page numbers of document nodes.
LayoutEnumeratorEnumerates page layout entities of a document.
LayoutOptionsHolds the options that allow controlling the document layout process. To learn more, visit the Converting to Fixed-page Format documentation article.
PageLayoutCallbackArgsAn argument passed into IPageLayoutCallback.notify() To learn more, visit the Converting to Fixed-page Format documentation article.
RevisionOptionsAllows to control how document revisions are handled during layout process. To learn more, visit the Converting to Fixed-page Format documentation article.

Enumerations

EnumerationDescription
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.