Table of Contents

Class ResolvedPageBorders

Namespace
DocWright.Layout
Assembly
DocWright.Layout.dll

A section's page borders, resolved (ECMA-376 Part 1 §17.6.10 w:pgBorders): the four edges, what their spaces are measured from, the pages they show on and whether they are drawn over the content. The geometry is layout's (WQ-0102).

public sealed class ResolvedPageBorders
Inheritance
ResolvedPageBorders
Inherited Members

Properties

Bottom

Gets the bottom edge (invisible when not drawn).

Display

Gets which pages of the section show the borders.

InFront

Gets whether the borders are drawn over the page's content (true) or under it, over the page colour.

Left

Gets the left edge (invisible when not drawn).

OffsetFrom

Gets what the edges' spaces are measured from.

Right

Gets the right edge (invisible when not drawn).

ShadowBottom

Gets whether the bottom edge casts a shadow (w:shadow).

ShadowRight

Gets whether the right edge casts a shadow (w:shadow): a second strip of its width outside it.

SurroundsFooter

Gets whether borders measured from the text take the footer inside them (w:bordersDoNotSurroundFooter off).

SurroundsHeader

Gets whether borders measured from the text take the header inside them: the text area's top is then the header distance, not the top margin (w:bordersDoNotSurroundHeader off).

Top

Gets the top edge (invisible when not drawn).