Class PageSetup

Namespace
SoftZenPdf.Layout
Assembly
SoftZenPdf.dll

Page size, margins, headers and footers for the pages of a FlowDocument (or of a section after a SectionBreak).

public sealed class PageSetup
Inheritance
PageSetup
Inherited Members

Properties

FirstPageFooter

A different footer for the first page of the section, or null to use Footer.

FirstPageHeader

A different header for the first page of the section, or null to use Header.

FirstPageNumber

The page number of the section's first page, or null to continue from the previous section.

Footer

Blocks drawn at the bottom of every page.

FooterDistance

The distance from the bottom edge to the bottom of the footer, in points. Defaults to 36.

Header

Blocks drawn at the top of every page, between the side margins. A header taller than the top margin pushes the body down.

HeaderDistance

The distance from the top edge to the header, in points. Defaults to 36.

Margins

The distances from the page edges to the body text, in points. Defaults to 72 (one inch) on every side.

Size

The page size. Defaults to A4.

Methods

Clone()

A copy of this setup with the same size, margins, headers and footers.