Sections

Slots

Pages are broken into slots.

Page Slots

The main slots are Header, Content, and Footer.

SlotDescription
section.Header()Represents the segment at the very top of the page, just above the main content.
section.Content()Represents the primary content, located between the header and footer. This container supports paging capability and determines the final length of the document.
section.Footer()Represents the section at the very bottom of the page, just below the main content. This container does not support paging capability. It is expected to be fully displayed on every page.

.Section(section => {
  section.PageSize(PageSizes.Letter);
  page.Header();
  page.Content();
  page.Footer();
});