SimpleHeaderFooter Class

Defines PDF Header and Footer display options.
Inheritance Hierarchy

Namespace:  IronPdf
Assembly:  IronPdf (in IronPdf.dll) Version: 2020.7.1
Syntax
public class SimpleHeaderFooter : ICloneable

The SimpleHeaderFooter type exposes the following members.

Constructors
  NameDescription
Public methodSimpleHeaderFooter
Initializes a new instance of the SimpleHeaderFooter class
Top
Methods
  NameDescription
Public methodClone
Clones this instance.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldCenterText
Sets the centered header text for the PDF document.

Merge meta-data into your header using any of these placeholder strings: {page} {total-pages} {url} {date} {time} {html-title} {pdf-title}

Public fieldDrawDividerLine
Adds a horizontal line divider between the header / footer and the page content on every page of the PDF document.
Public fieldFontFamily
Font used to render the PDF header.
Public fieldFontSize
Font size in px.
Public fieldLeftText
Sets the left hand side header text for the PDF document.

Merge meta-data into your header using any of these placeholder strings: {page} {total-pages} {url} {date} {time} {html-title} {pdf-title}

Public fieldRightText
Sets the right hand side header text for the PDF document.

Merge meta-data into your header using any of these placeholder strings: {page} {total-pages} {url} {date} {time} {html-title} {pdf-title}

Public fieldSpacing
Space between the header and page content in millimeters.
Top
See Also
Download DLL or Install with Nuget