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

Namespace: TallComponents.PDF.Layout
Assembly: TallComponents.PDF.Layout (in TallComponents.PDF.Layout.dll) Version: 3.0.63.0

Syntax

C#
[SerializableAttribute]
public class Header : Area
Visual Basic
<SerializableAttribute> _
Public Class Header _
	Inherits Area

Remarks

A Header is associated with a Section through the OddHeader and EvenHeader 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 Area and add it to the BackgroundAreas collection.

Inheritance Hierarchy

System..::..Object
  TallComponents.PDF.Layout..::..Object
    TallComponents.PDF.Layout..::..Area
      TallComponents.PDF.Layout..::..Header

See Also