Constructor LayoutPage
LayoutPage(int, Twips, Twips, IReadOnlyList<ILayoutPrimitive>)
Initializes a page.
public LayoutPage(int pageNumber, Twips width, Twips height, IReadOnlyList<ILayoutPrimitive> primitives)
Parameters
pageNumberintThe 1-based page number.
widthTwipsPage width in twips.
heightTwipsPage height in twips.
primitivesIReadOnlyList<ILayoutPrimitive>Positioned primitives in paint order.
LayoutPage(int, Twips, Twips, IReadOnlyList<ILayoutPrimitive>, LayoutPageInfo?)
Initializes a page that says what it is.
public LayoutPage(int pageNumber, Twips width, Twips height, IReadOnlyList<ILayoutPrimitive> primitives, LayoutPageInfo? info)
Parameters
pageNumberintThe 1-based page number.
widthTwipsPage width in twips.
heightTwipsPage height in twips.
primitivesIReadOnlyList<ILayoutPrimitive>Positioned primitives in paint order.
infoLayoutPageInfoThe section, header and footer variants and displayed number layout decided for the page, or null.