Class SimpleHeaderFooter
Defines PDF Header and Footer display options.
Implements
Inherited Members
Namespace: IronPdf
Assembly: IronPdf.dll
Syntax
public class SimpleHeaderFooter : ICloneable
Constructors
SimpleHeaderFooter()
Declaration
public SimpleHeaderFooter()
Fields
CenterText
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}
Declaration
public string CenterText
Field Value
Type | Description |
---|---|
System.String |
DrawDividerLine
Adds a horizontal line divider between the header / footer and the page content on every page of the PDF document.
Declaration
public bool DrawDividerLine
Field Value
Type | Description |
---|---|
System.Boolean |
FontFamily
Font used to render the PDF header.
Declaration
public string FontFamily
Field Value
Type | Description |
---|---|
System.String |
FontSize
Font size in px.
Declaration
public int FontSize
Field Value
Type | Description |
---|---|
System.Int32 |
LeftText
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}
Declaration
public string LeftText
Field Value
Type | Description |
---|---|
System.String |
RightText
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}
Declaration
public string RightText
Field Value
Type | Description |
---|---|
System.String |
Spacing
Space between the header and page content in millimeters.
Declaration
public int Spacing
Field Value
Type | Description |
---|---|
System.Int32 |
Methods
Clone()
Clones this instance.
Declaration
public object Clone()
Returns
Type | Description |
---|---|
System.Object | System.Object of type SimpleHeaderFooter |