Table of Contents

Constructor LayoutPage

Namespace
DocWright.Core.Rendering
Assembly
DocWright.Core.dll

LayoutPage(int, Twips, Twips, IReadOnlyList<ILayoutPrimitive>)

Initializes a page.

public LayoutPage(int pageNumber, Twips width, Twips height, IReadOnlyList<ILayoutPrimitive> primitives)

Parameters

pageNumber int

The 1-based page number.

width Twips

Page width in twips.

height Twips

Page height in twips.

primitives IReadOnlyList<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

pageNumber int

The 1-based page number.

width Twips

Page width in twips.

height Twips

Page height in twips.

primitives IReadOnlyList<ILayoutPrimitive>

Positioned primitives in paint order.

info LayoutPageInfo

The section, header and footer variants and displayed number layout decided for the page, or null.