Click or drag to resize

PdfPrintOptionsPdfHeaderFooter Class

Defines PDF Header and Footer display options.
Inheritance Hierarchy
SystemObject
  IronPdfPdfPrintOptionsPdfHeaderFooter

Namespace:  IronPdf
Assembly:  IronPdf (in IronPdf.dll) Version: 4.4.0.26589 (4.4.0.6)
Syntax
public class PdfHeaderFooter

The PdfPrintOptionsPdfHeaderFooter type exposes the following members.

Constructors
  NameDescription
Public methodPdfPrintOptionsPdfHeaderFooter
Initializes a new instance of the PdfPrintOptionsPdfHeaderFooter class
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (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 text (or html) 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