Namespace TallComponents.PDF.Layout

Class Header

An area that is repeated at the top of pages in a Section.

A

is associated with a

Section

through the

and

properties of the section. The position and the size of a header is constrained by the page size and page margins of the section. The top position of a header is equal to the page height of the section minus top margin of the header. The left position of a header is equal to the left margin of the section. The height of the header is equal to the top margin of the section minus the top margin of the header. The width of the header is equal to the width of the page minus the left and right margin of the section.

If the contents of the header exceeds the available space, the header will not be rendered. To include an image inside the header, make sure it's size is set explicitly so that it fits.

To place a banner at the top of the page that uses the full width of the page use an and add it to the collection.

Syntax

public class Header : Area

Constructors

Properties