Class TextHeaderFooter
Defines PDF Header and Footer display options.
Text
Implements
Namespace: IronPdf
Assembly: IronPdf.dll
Syntax
public class TextHeaderFooter : Object, ITextHeaderFooter
Constructors
TextHeaderFooter()
Declaration
public TextHeaderFooter()
Properties
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 { get; set; }
Property Value
Type | Description |
---|---|
System. |
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 { get; set; }
Property Value
Type | Description |
---|---|
System. |
DrawDividerLineColor
A Color of divider line Draw
Declaration
public Color DrawDividerLineColor { get; set; }
Property Value
Type | Description |
---|---|
Iron |
Font
Font family Iron
Declaration
public PdfFont Font { get; set; }
Property Value
Type | Description |
---|---|
Pdf |
FontSize
Font size in px.
Declaration
public double FontSize { get; set; }
Property Value
Type | Description |
---|---|
System. |
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 { get; set; }
Property Value
Type | Description |
---|---|
System. |
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 { get; set; }
Property Value
Type | Description |
---|---|
System. |
Methods
Clone()
Clones this instance.
Declaration
public object Clone()
Returns
Type | Description |
---|---|
System. |
System.Object of type SimpleHeaderFooter |